vue-braille
Convert text into Braille using Vue
Demo
https://codepen.io/khr2003/pen/QXNYeP
Installation
Direct Download / CDN
unpkg.com provides NPM-based CDN links. The above link will always point to the latest release on NPM. You can also use a specific version/tag via URLs like https://unpkg.com/vue-braille@0.0.0 (change 0.0.0 to version number)
Include vue-braille after Vue and it will install itself automatically:
NPM
To install through npm use this command
$ npm install vue-braille
When used with a module system, you must explicitly install the vue-braille
via Vue.use()
:
Vue
Usage
Just add the this code:
<vue-braille>TEXT HERE</vue-braille>
with props:
<vue-braille design='style2' size='20' show-tip='true'>TEXT HERE</vue-braille>
Props
design: the style of the braille code (any of the values: style1, style2, style3, style4)
size: unitless number to detrimine size
show-tip: Boolean value to show or hide tooltip