mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-22 08:36:33 +03:00
Renamed bindings into providers
This commit is contained in:
parent
c8652f7f6d
commit
3a61d252d3
|
@ -7,7 +7,7 @@ import {PathsList} from '../PathsList/paths-list';
|
|||
|
||||
@RedocComponent({
|
||||
selector: 'redoc',
|
||||
bindings: [SchemaManager],
|
||||
providers: [SchemaManager],
|
||||
templateUrl: './lib/components/Redoc/redoc.html',
|
||||
directives: [ApiInfo, PathsList]
|
||||
})
|
||||
|
|
|
@ -15,7 +15,7 @@ const CHANGE = {
|
|||
|
||||
@RedocComponent({
|
||||
selector: 'side-menu',
|
||||
bindings: [SchemaManager],
|
||||
providers: [SchemaManager],
|
||||
templateUrl: './lib/components/SideMenu/side-menu.html',
|
||||
directives: [SideMenuCat]
|
||||
})
|
||||
|
|
|
@ -23,7 +23,7 @@ function safeConcat(a, b) {
|
|||
* @param {*[]} options.directives - directives used by component
|
||||
* (except CORE_DIRECTIVES)
|
||||
* @param {*[]} options.pipes - pipes used by component
|
||||
* @param {*[]} options.bindings - component bindings
|
||||
* @param {*[]} options.providers - component providers
|
||||
* @param {string} options.templateUrl - path to component template
|
||||
* @param {string} options.template - component template html
|
||||
* @param {string} options.styles - component css styles
|
||||
|
@ -40,7 +40,7 @@ export function RedocComponent(options) {
|
|||
inputs: inputs,
|
||||
outputs: options.outputs,
|
||||
lifecycle: [OnInit],
|
||||
bindings: options.bindings
|
||||
providers: options.providers
|
||||
});
|
||||
let viewDecorator = View({
|
||||
templateUrl: options.templateUrl,
|
||||
|
|
Loading…
Reference in New Issue
Block a user