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