Harmless
    Preparing search index...

    Interface IfProperties

    Properties for the If component.

    interface IfProperties {
        children?: unknown;
        else?: unknown;
        test: SignalSource<boolean>;
        then?: unknown;
    }
    Index

    Properties

    children?: unknown

    Children shown when condition is true and no then property was set.

    else?: unknown

    Optional content to show when condition is false.

    test: SignalSource<boolean>

    The condition to test. Must be a function or a signal returning a boolean.

    then?: unknown

    Optional content to show when condition is true. If not set then the component children are used instead.