Class OIMenuStyle

Hierarchy

Accessors

  • get isMobile(): boolean
  • Returns boolean

  • get rowHeight(): number
  • Returns number

  • get writeShape(): boolean
  • Returns boolean

Constructors

Methods

  • Returns HTMLDivElement

  • Returns HTMLDivElement

  • Returns HTMLDivElement

  • Returns HTMLDivElement

  • Returns HTMLDivElement

  • Returns HTMLDivElement

  • 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

    • layer: HTMLElement

    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;
})[] = ...
id: string
menuColorFill?: HTMLDivElement
menuColorStroke?: HTMLDivElement
menuFontSize?: HTMLDivElement
menuFontWeight?: HTMLDivElement
menuStrokeOpacity?: HTMLDivElement
menuThickness?: HTMLDivElement
subMenu?: OIMenuSub
thicknessList: {
    label: string;
    value: number;
}[] = ...

Type declaration

  • label: string
  • value: number
triggerBtn?: HTMLButtonElement
wrapper?: HTMLDivElement

Generated using TypeDoc