@whitewizard/radio

1.6.10 • Public • Published

#Radio player UI

Release

  • npm install
  • npm run build

Usage

  • npm install --save @whitewizard/radio

  • For independent install:

    • import { createComponent } from '@whitewizard/radio'
    • createComponent(<HTMLElement>element, <Object>props)
    • dist/radio.css will have to be required separately
  • For usage in Vue.js environment:

    • import { component } from '@whitewizard/radio' or import component from '@whitewizard/radio/src/radio.vue'
  • Props:

    • isPopup: <Boolean> - desktop only
    • language: <String>{et|en|ru} - set UI language
    • environment: <String>{mobile|desktop}
    • radios: <Array> - array of radios to be shown. First element defines which radio to show as active after mount.

Dependencies (0)

    Dev Dependencies (25)

    Package Sidebar

    Install

    npm i @whitewizard/radio

    Weekly Downloads

    53

    Version

    1.6.10

    License

    ISC

    Unpacked Size

    522 kB

    Total Files

    29

    Last publish

    Collaborators

    • whitewizard