tooth-selector

used to select tooth
576
Install
npm install tooth-selector
Latest Version:4.3.2
Vue:2
License:MIT
Last Updated:May 10, 2019
Links: npm
Maintainer: lcylichenyi

tooth-selector

github : https://github.com/lcylichenyi/tooth-selector

used to select tooth(牙位选择器)

1556503022365

使用方法:

import toothSelector from 'toothSelector'


export default {
  components: {
    toothSelector
  }
}

父组件接收传出值: v-model = ""

父组件传入值: historyProp

例:

// 组件
<toothSelector v-show='isShow' :historyProp=test  v-model='teeth'/>


// 属性
test: { "d1": [ "La", "D" ], "d2": [], "a1": [ "P" ], "a4": [ "F" ], "d<6|7>": [ "" ] }

传入传出值key是由 位置信息 + 牙齿信息 组成, value 表示 附带属性。(牙缝不允许有value)

例如左上方第一颗门牙,为a1,正上方牙缝,为e<1|1>

位置信息:a:左上角,b:右上角,c:左下角,d:右下角,e:中间正上方牙缝,f:中间正下方牙缝

1556503330447

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# test
npm run test

For detailed explanation on how things work, consult the docs for vue-loader.

Version History

Version Released Vue License
4.3.2 ^2.5.11 MIT
4.3.1 ^2.5.11 MIT
4.3.0 ^2.5.11 MIT
4.2.0 ^2.5.11 MIT
4.1.0 ^2.5.11 MIT