Harmless

    Interface ShowProperties

    Properties for the Show component.

    interface ShowProperties {
        children?: unknown;
        fallback?: unknown;
        when: SignalSource<boolean>;
    }
    Index

    Properties

    children?: unknown

    The content to show when condition is true.

    fallback?: unknown

    Optional content to show when condition is false. Defaults to nothing.

    when: SignalSource<boolean>

    The condition to control when the component body should be shown. Must be a function or a signal returning true to show the body, false to hide it and instead show the optional fallback content.

    MMNEPVFCICPMFPCPTTAAATR