dial-pad

1.1.4 • Public • Published

Installation

This is a Node.js module available through the npm registry.

Before installing, download and install Node.js. Node.js 0.10 or higher is required.

Installation is done using the npm install command:

$ npm install dial-pad@latest --save

Angular json

"styles": [

"node_modules/dial-pad/dist/dial-pad.css",

"src/styles.scss"

],

"scripts": [

"node_modules/dial-pad/dist/dial-pad.js",

],

Browser

  
   <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link rel="stylesheet" href="../lib/dial-pad.css">
        <script src="../lib/dial-pad.js"></script>
        <script src="./main.js"></script>
        <title>Document</title>
    </head>
    <body>
        <button id="dial-pad-picker">Open Dial</button>
    </body>
    </html>

In your javascript file

    main.emitter({
        eventValue: (value) => {
        console.log(value);
        }
    });

Readme

Keywords

Package Sidebar

Install

npm i dial-pad

Weekly Downloads

1

Version

1.1.4

License

ISC

Unpacked Size

1.76 kB

Total Files

2

Last publish

Collaborators

  • renatoserra