vue-braille

1.0.2 • Public • Published

vue-braille

npm npm vue2

Convert text into Braille using Vue

Demo

https://codepen.io/khr2003/pen/QXNYeP

Installation

Direct Download / CDN

https://unpkg.com/vue-braille

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:

<script src="https://unpkg.com/vue/dist/vue.js"></script>
<script src="https://unpkg.com/vue-braille"></script>

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():

import Vue from 'vue'
import VueBraille from 'vue-braille'
 
 
Vue.use(VueBraille)

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

©️ License

MIT

Readme

Keywords

Package Sidebar

Install

npm i vue-braille

Weekly Downloads

1

Version

1.0.2

License

(MIT OR Apache-2.0)

Unpacked Size

41.8 kB

Total Files

6

Last publish

Collaborators

  • khr2003