mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 23:37:04 +00:00
Merge pull request #10195 from nomaed/patch-1
Comment from official docs about angular.IComponentOptions.require
This commit is contained in:
Vendored
+6
@@ -1715,6 +1715,12 @@ declare namespace angular {
|
||||
* Whether transclusion is enabled. Enabled by default.
|
||||
*/
|
||||
transclude?: boolean | string | {[slot: string]: string};
|
||||
/**
|
||||
* Requires the controllers of other directives and binds them to this component's controller.
|
||||
* The object keys specify the property names under which the required controllers (object values) will be bound.
|
||||
* Note that the required controllers will not be available during the instantiation of the controller,
|
||||
* but they are guaranteed to be available just before the $onInit method is executed!
|
||||
*/
|
||||
require?: {[controller: string]: string};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user