toy-face

1.0.1 • Public • Published

toy-face

Demo (VueJs)

Demo

Installation

# npm
$ npm install toy-face
# yarn
$ yarn add toy-face

Usage

<script src="https://cdn.jsdelivr.net/gh/imanmalekian31/toy-face/dist/bundle.js"></script>
OR
<script src="node_modules/toy-face/dist/bundle.js"></script>
...
<toy-face size="180" rounded="20" toy-number="18" group="2"></toy-face>

Constructor Options

Key Type Description Default
size String Width and height of avatar (per pixel) 48
rounded String Border radius of avatar (per pixel) 0
toy-number String The Number of each avatar (between 1 to 18) 1
group String Avatars are defined in each group ( 1 or 2) 1

License

The MIT License

/toy-face/

    Package Sidebar

    Install

    npm i toy-face

    Weekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    15.1 kB

    Total Files

    5

    Last publish

    Collaborators

    • iman-malekian