@twip/web
    Preparing search index...

    Interface FormatDialogSession<K>

    A dialog of the style dialog's Format menu.

    interface FormatDialogSession<K extends FormatDialogKind> {
        fields: { readonly [F in string | number | symbol]?: FieldInfo };
        kind: K;
        values: DialogValues[K];
        apply(): Promise<StyleDialogSession>;
        cancel(): void;
        update(patch: Partial<DialogValues[K]>): Promise<FormatDialogSession<K>>;
    }

    Type Parameters

    Hierarchy

    Index
    fields: { readonly [F in string | number | symbol]?: FieldInfo }

    Each field's label, kind, range and state, by field name; a field may have no entry.

    kind: K

    Which dialog.

    values: DialogValues[K]

    The selection's current values, 'mixed' where they differ.