Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • editUI

Index

Methods Event Listeners

Methods Other

Event Listeners Methods

  • on(type: "hide" | "show" | "save" | "cancel" | "element-btn-click" | "button-click", listener: (sender: editUI, args: any, args1: any, args2: any) => boolean | void): editUI
  • The on() method of the editUI interface sets up a function that will be called whenever the specified event is delivered to the target. *

    Parameters

    • type: "hide" | "show" | "save" | "cancel" | "element-btn-click" | "button-click"

      A case-sensitive string representing the event type to listen for.

    • listener: (sender: editUI, args: any, args1: any, args2: any) => boolean | void

      The object that receives a notification when an event of the specified type occurs. This must be a JavaScript function.

        • (sender: editUI, args: any, args1: any, args2: any): boolean | void
        • Parameters

          • sender: editUI
          • args: any
          • args1: any
          • args2: any

          Returns boolean | void

    Returns editUI

Other Methods

  • content(id: string | number, detailsMode: boolean, dontAnim: boolean, width: string, dontRenderButtons: boolean): string
  • Parameters

    • id: string | number
    • detailsMode: boolean
    • dontAnim: boolean
    • width: string
    • dontRenderButtons: boolean

    Returns string

  • hide(): void
  • Hides the edit form

    Returns void

  • Inits edit ui

    Parameters

    Returns void

  • setAvatar(avatarUrl?: string): void
  • Sets the avatar of the edit form

    Parameters

    • Optional avatarUrl: string

      avatar url

    Returns void

  • show(id: string | number, detailsMode?: boolean, dontAnim?: boolean): void
  • Shows the edit form for the specified node id

    Parameters

    • id: string | number

      node id

    • Optional detailsMode: boolean

      If true the edit form is in read only mode

    • Optional dontAnim: boolean

    Returns void

Legend

  • Constructor
  • Property
  • Method
  • Static property
  • Static method
  • Method
  • Inherited method

Settings

Theme

Generated using TypeDoc