Skip to content

jx3box-emotion 1.2.3

Install from the command line:
Learn more about npm packages
$ npm install @jx3box/jx3box-emotion@1.2.3
Install via package.json:
"@jx3box/jx3box-emotion": "1.2.3"

About this version

usage

  1. 表情渲染
import JX3_EMOTION from '@jx3box/jx3box-emotion'

const ins = new JX3_EMOTION(str)

// return html
ins.code
  1. 表情组件

该组件会 emit 一个 selected 事件,向上传递一个参数,其值为选中的表情的key

import Emotion from '@jx3box/jx3box-emotion/src/Emotion.vue'

<Emotion @selected="handleSelected" />

const handleSelected = (key) => {
  // your code
}

Details


Assets

  • jx3box-emotion-1.2.3.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0