SoulFire TypeScript SDK 2.10.3
    Preparing search index...

    Type Alias DialogButton

    DialogButton: Message<"soulfire.v1.DialogButton"> & {
        action?: DialogAction;
        label: string;
        tooltip?: string;
        width: number;
    }

    Button that can appear in a dialog.

    Type Declaration

    • Optionalaction?: DialogAction

      Action to perform when clicked.

      from field: optional soulfire.v1.DialogAction action = 4;

    • label: string

      Button text (may be a JSON text component).

      from field: string label = 1;

    • Optionaltooltip?: string

      Optional tooltip shown on hover.

      from field: optional string tooltip = 2;

    • width: number

      Button width in pixels. Range: 1-1024, default: 150.

      from field: int32 width = 3;

    from message soulfire.v1.DialogButton