• 概要
@angular/elements

NgElementStrategy

interface
stable

Underlying strategy used by the NgElement to create/destroy the component and react to input changes.

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
Jump to details