Harmless

    Interface ElementClass

    Interface for element classes.

    interface ElementClass {
        onDestroy(): void;
        render(): Element;
    }
    Index

    Methods

    • Called when component is destroyed.

      Returns void

    • Renders the component into a JSX element.

      Returns Element

      The created JSX element.

    MMNEPVFCICPMFPCPTTAAATR