typograph-editor-documentation
    Preparing search index...

    Class RoleDialog

    Base class for modal dialog's

    Standard header and footer with cancel and ok button's

    Hierarchy (View Summary)

    Index
    • Parameters

      • open_uuid: string

        a role to open, or null to start a new one

      • seed: edit_options

        what a new role starts from — the selected element's current permissions

      • on_saved: (uuid: string) => void

        called with the saved role's uuid (a new role is created, not applied)

      Returns RoleDialog

    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