@samatawy/diagrams
    Preparing search index...

    Class ImageModeSelect

    A single-trigger dropdown for selecting image_mode. The trigger shows the icon for the current mode; the menu lists all modes as icon + label.

    Emits imagemodechangeCustomEvent<ImageMode> when the selection changes.

    Index

    Constructors

    Properties

    host: HTMLElement
    trigger: HTMLButtonElement
    triggerIcon: HTMLElement
    menu: HTMLDivElement
    _mode: ImageMode = 'contain'
    _disabled: boolean = false

    Accessors

    Methods