0.1.37 • Published 2 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-list
Usage
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
2 years ago
0.1.36
2 years ago
0.1.35
2 years ago
0.1.34
2 years ago
0.1.33
2 years ago
0.1.32
2 years ago
0.1.31
2 years ago
0.1.29
2 years ago
0.1.28
2 years ago
0.1.27
2 years ago
0.1.26
2 years ago
0.1.25
2 years ago
0.1.24
2 years ago
0.1.23
2 years ago
0.1.22
2 years ago
0.1.21
2 years ago
0.1.20
2 years ago
0.1.19
2 years ago
0.1.18
2 years ago
0.1.17
2 years ago
0.1.16
2 years ago
0.1.15
2 years ago
0.1.14
2 years ago
0.1.13
2 years ago
0.1.12
2 years ago
0.1.11
2 years ago
0.1.10
2 years ago
0.1.9
2 years ago
0.1.8
2 years ago
0.1.7
2 years ago
0.1.6
2 years ago
0.1.5
2 years ago
0.1.4
2 years ago
0.1.3
2 years ago
0.1.2
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago