Spec-Zone.ru › Angular

NgElementStrategy

Базовая стратегия, используемая NgElement для создания и уничтожения компонента и реагирования на изменения входных данных.

API

interface NgElementStrategy {
  events: Observable<NgElementStrategyEvent>;
  connect(element: HTMLElement): void;
  disconnect(): void;
  getInputValue(propName: string): any;
  setInputValue(propName: string, value: string, transform?: ((value: any) => any) | undefined): void;
}

events

Observable<NgElementStrategyEvent>

connect

void
@paramelementHTMLElement
@returnsvoid

disconnect

void
@returnsvoid

getInputValue

any
@parampropNamestring
@returnsany

setInputValue

void
@parampropNamestring
@paramvaluestring
@paramtransform((value: any) => any) | undefined
@returnsvoid

Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/elements/NgElementStrategy

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API