NgElementStrategy

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 }

属性

属性名类型说明
events

方法

connect(element: HTMLElement): void

参数

element

Type: HTMLElement.

返回值

void

disconnect(): void

参数

没有参数。

返回值

void

getInputValue(propName: string): any

参数

propName

Type: string.

返回值

any

setInputValue(propName: string, value: string): void

参数

propName

Type: string.

value

Type: string.

返回值

void