[ Web Proxy ]
URL:
Viewing: https://angular.dev/api/elements/NgElementStrategy [Back]  [Original]

NgElementStrategy Angular Skip to main content
menu
close
more_horiz
menuAPI
@angular/elements

NgElementStrategy

interface
stable

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

On this page

    arrow_upward_alt Back to the top

    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;}
        
        

    connect

    void
    @paramelementHTMLElement
    @returnsvoid

    disconnect

    void
    @returnsvoid

    getInputValue

    any
    @parampropNamestring
    @returnsany

    setInputValue

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

    Web Proxy Viewer  |  New URL  |  Original Page