RSX Code Reference
    Preparing search index...

    Interface KeyWindowTutorialStep<T>

    The KeyWindowTutorialStep interface provides a way to define a step in a KeyWindowTutorial. Each step can highlight an element and provide a description. The tutorial is a linear sequence of steps that are executed one after the other.

    interface KeyWindowTutorialStep<T = any> {
        activeWindows: DockableEditorWindow[];
        description: string;
        element: UIElementBase;
        onEnterStep?: () => T;
        onExitStep?: (options: T) => void;
        title: string;
        windowPlacement?: EnumValue<CalloutPlacement>;
    }

    Type Parameters

    • T = any
    Index
    activeWindows: DockableEditorWindow[]

    The dockable window that owns the element.

    description: string

    The description of the step.

    element: UIElementBase

    The element to highlight.

    onEnterStep?: () => T

    Invoked when the tutorial step begins. Useful to prepare the context for the tutorial.

    The return value of the lambda will later be passed to onExitStep to allow for cleanup.

    onExitStep?: (options: T) => void

    Invoked when the tutorial step concludes, any objects created must be manually removed.

    title: string

    The title of the step.

    windowPlacement?: EnumValue<CalloutPlacement>

    The optional placement of the callout window. If unspecified, a best-fit will be automatically chosen.