NgElementStrategy
interface
Underlying strategy used by the NgElement to create/destroy the component and react to input changes.
interface NgElementStrategy {
events: Observable<NgElementStrategyEvent>
connect(element: HTMLElement): void
disconnect(): void
getInputValue(propName: string): any
setInputValue(propName: string, value: string): void
}
Properties
Property | Description |
---|---|
events: Observable<NgElementStrategyEvent>
|
Methods
connect() | |||
---|---|---|---|
connect(element: HTMLElement): voidParameters
Returns
|
disconnect() |
---|
disconnect(): voidParametersThere are no parameters. Returns
|
getInputValue() | |||
---|---|---|---|
getInputValue(propName: string): anyParameters
Returns
|
setInputValue() | ||||||
---|---|---|---|---|---|---|
setInputValue(propName: string, value: string): voidParameters
Returns
|
© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v10.angular.io/api/elements/NgElementStrategy