Event Listeners Methods
on
- on(type: "hide" | "show" | "save" | "cancel" | "element-btn-click" | "button-click", listener: (sender: editUI, args: any, args1: any, args2: any) => boolean | void): editUI
Parameters
type: "hide" | "show" | "save" | "cancel" | "element-btn-click" | "button-click"
listener: (sender: editUI, args: any, args1: any, args2: any) => boolean | void
- (sender: editUI, args: any, args1: any, args2: any): boolean | void
Parameters
args: any
args1: any
args2: any
Returns boolean | void
Other Methods
content
- 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
setAvatar
- setAvatar(avatarUrl?: string): void
Parameters
Optional avatarUrl: string
Returns void
show
- show(id: string | number, detailsMode?: boolean, dontAnim?: boolean): void
Parameters
id: string | number
Optional detailsMode: boolean
Optional dontAnim: boolean
Returns void
The on() method of the editUI interface sets up a function that will be called whenever the specified event is delivered to the target. *