0.1.37 • Published 3 years ago
vue-audio-recorder-list v0.1.37
Tips to use the package as per our convenience
Install dependencies
$ npm i --save vue-audio-recorder-listUsage
import audioRecorderListDisplay from 'vue-audio-recorder-list'
export default {
components: {
audioRecorderListDisplay
},
data() {
return {
settings: {
startButtonName: 'BUTTON_LABEL',
startButtonIcon: 'ICON_PATH',
startButtonBgColor: 'COLOR',
startButtonTextColor: 'COLOR',
stopButtonName: 'BUTTON_LABEL',
stopButtonIcon: 'ICON_PATH',
stopButtonBgColor: 'COLOR',
stopButtonTextColor: 'COLOR',
recordingMaxLimit:'AutoStop_recording_time_in_minutes',
DownloadAudio: 'BOOLEAN'
},
}
},
methods:{
getRecordings(rec){
console.log(rec, 'array of recorings will be printed here and you can use it')
}
}
}Use in template:-
<audioRecorderListDisplay :settings="settings" @get-recordings="getRecordings"/>Keys:-
| Prop | Type | Default | Description |
|---|---|---|---|
startButtonName | String | Start | Text of button |
startButtonIcon | String | Icon | Relative path from public directory |
startButtonBgColor | String | blue | Background color of button |
startButtonTextColor | String | white | Color of text |
stopButtonName | String | Stop | Text of button |
stopButtonIcon | String | Icon | Relative path from public directory |
stopButtonBgColor | String | red | Background color of button |
stopButtonTextColor | String | white | Color of text |
recordingMaxLimit | Number | 2 | Enter time in minutes to set max recording limit (not more than 60) |
DownloadAudio | boolean | false | This will enable or disable the download recording feature. |
Method:-
| Prop | Type | Description |
|---|---|---|
@get-recordings | Fun | get the list of recorded audios |
Licence 📜
MIT
0.1.37
3 years ago
0.1.36
3 years ago
0.1.35
3 years ago
0.1.34
3 years ago
0.1.33
3 years ago
0.1.32
3 years ago
0.1.31
3 years ago
0.1.29
3 years ago
0.1.28
3 years ago
0.1.27
3 years ago
0.1.26
3 years ago
0.1.25
3 years ago
0.1.24
3 years ago
0.1.23
3 years ago
0.1.22
3 years ago
0.1.21
3 years ago
0.1.20
3 years ago
0.1.19
3 years ago
0.1.18
3 years ago
0.1.17
3 years ago
0.1.16
3 years ago
0.1.15
3 years ago
0.1.14
3 years ago
0.1.13
3 years ago
0.1.12
3 years ago
0.1.11
3 years ago
0.1.10
3 years ago
0.1.9
3 years ago
0.1.8
3 years ago
0.1.7
3 years ago
0.1.6
3 years ago
0.1.5
3 years ago
0.1.4
3 years ago
0.1.3
3 years ago
0.1.2
3 years ago
0.1.1
3 years ago
0.1.0
3 years ago