blessed-components - v1.20.0
    Preparing search index...

    Interface SwitchOptions

    Options accepted by the Blessed switchControl adapter.

    interface SwitchOptions {
        box?: SwitchBoxOptions;
        data: SwitchData;
        parent: Node;
    }
    Index

    Properties

    Properties

    Optional dimensions, position, style, and standard Blessed settings.

    Label, state, callback, and character data.

    parent: Node

    Blessed screen or node receiving the switch.