Options
All
  • Public
  • Public/Protected
  • All
Menu

白板工具插件

Hierarchy

Index

Constructors

constructor

Properties

$el

Optional beforeClear

beforeClear?: OperationIntercept

清空拦截

Optional beforeRedo

beforeRedo?: OperationIntercept

重做拦截

Optional beforeUndo

beforeUndo?: OperationIntercept

撤回拦截

currentClassName

currentClassName: string

选中状态下的样式类名

disabledClassName

disabledClassName: string

禁用状态下的样式类名

nodeAttrPrefix

nodeAttrPrefix: string

data-set 前缀

Optional whiteBoard

whiteBoard?: WhiteBoard

白板实例

Methods

addCurrentClassName

addDisabledClassName

beforeDestroy

  • beforeDestroy(): void
  • Returns void

buildAttr

  • buildAttr(suffix: string, brackets?: boolean): string
  • 构建 attr 选择器

    Parameters

    • suffix: string

      dateset后缀

    • brackets: boolean = true

      是否添加中括号,选传,默认为true

    Returns string

    选择器

destroy

  • destroy(): void

inited

  • inited(): void
  • Returns void

removeElemClassName