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, transform?: (value: any) => any): void }
Property | Description |
---|---|
events: Observable<NgElementStrategyEvent> |
connect() | |||
---|---|---|---|
|
element | HTMLElement |
void
disconnect() |
---|
|
getInputValue() | |||
---|---|---|---|
|
propName | string |
any
setInputValue() | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
propName | string | |
value | string | |
transform | (value: any) => any | Optional. Default is |
void
© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/elements/NgElementStrategy