@onjmin/dtm
    Preparing search index...

    Type Alias TourBranch

    TourStep.branches の選択肢。

    type TourBranch = {
        hint?: string;
        label: string;
        steps: TourStep[];
        when?: (root: ParentNode) => boolean;
    }
    Index

    Properties

    Properties

    hint?: string

    見出しの下に添える補足(省略可)。

    label: string

    ボタンの見出し。

    steps: TourStep[]

    この枝を選んだときに続けて表示するステップ列。

    when?: (root: ParentNode) => boolean

    この枝を出してよいか(省略時は常に出す)。表示の直前に評価する。

    個々のステップは対象が無ければ勝手に飛ぶが、枝そのものは飛ばせない。 機能を切っている利用者に「カバー曲を作りたい」を見せて、選んだ先が 全部飛んで空になる——という行き止まりを防ぐために要る。