Class OIMenuAction

Hierarchy

Accessors

  • get isMobile(): boolean
  • Returns boolean

Constructors

Methods

  • Returns void

  • Returns HTMLElement

  • Returns HTMLElement

  • Returns HTMLDivElement

  • Returns HTMLElement

  • Returns HTMLDivElement

  • Returns HTMLDivElement

  • Returns HTMLElement

  • Returns HTMLElement

  • Returns HTMLElement

  • Returns HTMLDivElement

  • Returns HTMLElement

  • Parameters

    • el: HTMLElement
    • text: string
    • position: "bottom" | "left" | "right" | "top" = "top"

    Returns HTMLElement

  • Parameters

    • el: Node
    • title: string

    Returns HTMLDivElement

  • Returns void

  • Returns void

  • Parameters

    • file: File

    Returns Promise<string>

  • Parameters

    • layer: HTMLElement

    Returns void

  • Returns void

  • Returns void

  • Returns void

Properties

#logger: Logger = ...
behaviors: OIBehaviors
colors: string[] = ...
fontSizeList: {
    label: string;
    value: number;
}[] = ...

Type declaration

  • label: string
  • value: number
fontWeightList: ({
    label: string;
    value: undefined;
} | {
    label: string;
    value: string;
})[] = ...
guideGaps: {
    label: string;
    value: string;
}[] = ...

Type declaration

  • label: string
  • value: string
id: string
menuClear?: HTMLButtonElement
menuConvert?: HTMLButtonElement
menuLanguage: OIMenuSub
menuRedo?: HTMLButtonElement
menuUndo?: HTMLButtonElement
thicknessList: {
    label: string;
    value: number;
}[] = ...

Type declaration

  • label: string
  • value: number
wrapper?: HTMLElement

Generated using TypeDoc