#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'
orimport 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.
-