typograph-editor-documentation
    Preparing search index...

    Class Popupmenu_edit

    Hierarchy (View Summary)

    Index
    • owner_dialog is passed straight to Popupmenu, which hands it to its MenuControler: a menu built for a dialog dispatches to that dialog's menu_item_selected() instead of the editor's global one. Popupmenu has always taken it; this subclass simply did not pass it on, so an editable popup inside a dialog was routed to the editor's handlers — which act on the current selection, not on the dialog.

      Parameters

      • type: string
      • id: string
      • width: number
      • title: string
      • removeunderscore: boolean = true
      • min: number = 0
      • max: number = 0
      • unit: string = ''
      • inputmethod: string = 'change'
      • owner_dialog: Dialog = null

      Returns Popupmenu_edit

    _doedit: any = ...
    _hidemenu: any = ...
    _selectedit: any = ...
    _selectmenu: any = ...
    active: boolean
    arrow: HTMLElement
    arrow_object: Arrow = null
    container: HTMLElement
    dialog: Dialog = null
    element: HTMLElement
    id: string
    inputfield: Inputfield
    inputmethod: string = 'change'
    max: number = 0
    menucontoler: MenuControler
    menuitems: menuitemdata[]
    min: number = 0
    popupmenuwidth: number = 200
    removeunderscore: boolean = true
    title: string
    type: string
    unit: string = ''
    width: number
    • Parameters

      • event: MouseEvent

      Returns void