@twip/web
    Preparing search index...

    Interface ElementContext

    An element the selection is in or covers.

    interface ElementContext {
        code?: string;
        control?: ControlInfo;
        exact: boolean;
        form?: FormFieldInfo;
        id: ElementId;
        kind: ControlKind | "field" | "repeatingItem";
        size?: { height: number; width: number };
        tag?: string;
        title?: string;
    }
    Index
    code?: string

    A field's code.

    control?: ControlInfo

    A content control's look and options.

    exact: boolean

    The selection covers exactly this element.

    A legacy form field's options and value.

    The element.

    kind: ControlKind | "field" | "repeatingItem"

    Its kind.

    size?: { height: number; width: number }

    A picture control's picture size (inline or floating).

    tag?: string

    A control's tag.

    title?: string

    A control's title.