1.5.1 • Published 4 years ago

userhelperlibrary v1.5.1

Weekly downloads
11
License
ISC
Repository
-
Last release
4 years ago

Web Accessibility for Visually Impaired People

Installation

Using npm:

$ npm i -g npm
$ npm i --save userhelperlibrary

Using yarn:

$ yarn add userhelperlibrary

Options:

{
  destroy: false, // true or false --> destroy library or not 
  lang: 'en' // buttons language --> ru / en / ro --> default en
}
// example
userhelperlibrary({destroy: true, lang: 'en'});

In React:

import React, {useEffect} from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import userhelperlibrary from "userhelperlibrary";

const App = ()=> {
  useEffect(() => {
    userhelperlibrary();
  }, []);
  
    return(
      <div>
        // any code...
      </div>
    )
}

ReactDOM.render(<App />, document.getElementById('root'));

In Vue.js:

<script>
 import userHelperLibrary from "userhelperlibrary";

  export default {
    name: "App",
    components: {},
    computed: {},
    methods: {},
    created() {
      userHelperLibrary();
    }
  };
</script>