Options
All
  • Public
  • Public/Protected
  • All
Menu

组件参数操作的属性编辑器

Hierarchy

  • AttributeEditorBase
    • RightItemsAttrEditor

Implements

  • IAttributeEditorBase

Index

Constructors

constructor

  • 组件参数操作的属性编辑器

    Parameters

    • cmp: any
    • attrConfig: IAttributeEditorBase

    Returns RightItemsAttrEditor

Properties

btnOptId

btnOptId: string

component

component: Right

demo

demo: any

demoEditor

demoEditor: any

desc

desc: any

editor

editor: any

editorDemoId

editorDemoId: string

editorId

editorId: string

language

language: any

tableId

tableId: string

tableObj

tableObj: ITableInstance

toolbtnId

toolbtnId: string

Methods

addRigtItem

  • Parameters

    Returns void

Private checkValue

  • checkValue(): boolean
  • 校验事件脚本的合法性

    Returns boolean

delRightItem

  • delRightItem(id: string): void
  • Parameters

    • id: string

    Returns void

doGetBodyHtml

  • doGetBodyHtml(): string
  • Returns string

doGetCss

  • doGetCss(): void & { ParamsAttrEditor: { & .layui-table td *: { font-size: string } } }
  • Returns void & { ParamsAttrEditor: { & .layui-table td *: { font-size: string } } }

doInitEditor

  • doInitEditor(rightid: any, initValue: any): void
  • Parameters

    • rightid: any
    • initValue: any

    Returns void

Protected doScriptCellClick

  • doScriptCellClick(rightid: any, initValue: any, callback: (value: string) => void): void
  • Parameters

    • rightid: any
    • initValue: any
    • callback: (value: string) => void
        • (value: string): void
        • Parameters

          • value: string

          Returns void

    Returns void

Private getCmps

  • getCmps(): ContainerBase[]
  • Returns ContainerBase[]

Private getScriptEditorHtml

  • getScriptEditorHtml(): string
  • Returns string

Private getScriptTemplete

  • getScriptTemplete(rightid: any): string
  • Parameters

    • rightid: any

    Returns string

getValue

  • 获取属性的值 子类可以覆盖此函数来实现扩展复杂类型的属性获取

    Returns IRigtItem[]

refresh

  • refresh(): void
  • Returns void

render

  • render($parent: any): void
  • Parameters

    • $parent: any

    Returns void

Generated using TypeDoc