mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-26 02:23:43 +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({
|
@RedocComponent({
|
||||||
selector: 'redoc',
|
selector: 'redoc',
|
||||||
bindings: [SchemaManager],
|
providers: [SchemaManager],
|
||||||
templateUrl: './lib/components/Redoc/redoc.html',
|
templateUrl: './lib/components/Redoc/redoc.html',
|
||||||
directives: [ApiInfo, PathsList]
|
directives: [ApiInfo, PathsList]
|
||||||
})
|
})
|
||||||
|
|
|
@ -15,7 +15,7 @@ const CHANGE = {
|
||||||
|
|
||||||
@RedocComponent({
|
@RedocComponent({
|
||||||
selector: 'side-menu',
|
selector: 'side-menu',
|
||||||
bindings: [SchemaManager],
|
providers: [SchemaManager],
|
||||||
templateUrl: './lib/components/SideMenu/side-menu.html',
|
templateUrl: './lib/components/SideMenu/side-menu.html',
|
||||||
directives: [SideMenuCat]
|
directives: [SideMenuCat]
|
||||||
})
|
})
|
||||||
|
|
|
@ -23,7 +23,7 @@ function safeConcat(a, b) {
|
||||||
* @param {*[]} options.directives - directives used by component
|
* @param {*[]} options.directives - directives used by component
|
||||||
* (except CORE_DIRECTIVES)
|
* (except CORE_DIRECTIVES)
|
||||||
* @param {*[]} options.pipes - pipes used by component
|
* @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.templateUrl - path to component template
|
||||||
* @param {string} options.template - component template html
|
* @param {string} options.template - component template html
|
||||||
* @param {string} options.styles - component css styles
|
* @param {string} options.styles - component css styles
|
||||||
|
@ -40,7 +40,7 @@ export function RedocComponent(options) {
|
||||||
inputs: inputs,
|
inputs: inputs,
|
||||||
outputs: options.outputs,
|
outputs: options.outputs,
|
||||||
lifecycle: [OnInit],
|
lifecycle: [OnInit],
|
||||||
bindings: options.bindings
|
providers: options.providers
|
||||||
});
|
});
|
||||||
let viewDecorator = View({
|
let viewDecorator = View({
|
||||||
templateUrl: options.templateUrl,
|
templateUrl: options.templateUrl,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user