typograph-editor-documentation
    Preparing search index...

    Class jsonInputDialog

    Modal dialog with a single textarea to view/edit the JSON user_data of a page element (or a page). Parses the text back to an object on OK and stores it in user_data, wrapped in an undo/redo step.

    Hierarchy (View Summary)

    Index
    cancelDialogProc: callbackwithstring
    container: HTMLElement
    containerid: string
    content: HTMLElement
    dialogcontent: HTMLElement
    dialoglayer: HTMLElement
    dialoglayerid: string
    first_x: number
    first_y: number
    foooterheight: number = kFooterHeigth
    headerheight: number = kHeaderHeight
    height: number
    id: string
    okDialogProc: callbackwithstring
    orinal_x: number
    orinal_y: number
    type: string
    width: number
    • popupmenu call to check active item used by popmenucontroler when dialog propery !=null should be overridden by subclasses

      Parameters

      • id: string

      Returns boolean

    • popupmenu call for menu action used by popmenucontroler when dialog propery!=null should be overridden by subclasses

      Parameters

      • e: MouseEvent

      Returns void

    • genaral call back to dispatch events back to the dialog...

      Parameters

      • s: string

        can be null

      Returns void