作者:管理员  历史版本:1  最后编辑:龚清  更新时间:2024-07-05 12:05

简要描述:

  • ibps-highlight组件内部的Attributes、Methods

ibps-highlight Attributes

参数名 是否必须 类型 说明 可选值 默认值
code String 代码 —– ‘’
formatHtml Boolean 格式化html —– false
lang String 语言 —– ‘’
inline Boolean 内联 —– false

ibps-highlight Methods

事件名称 说明 参数
hasCode 校验代码属性 —–
getSlotText 获取插槽内的文本 —–
indentCode 缩进代码 —–
render 渲染函数 —–