This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ################################################################################ | |
| # Node | |
| ################################################################################ | |
| node_modules | |
| ################################################################################ | |
| # Compiled Directories & Files | |
| ################################################################################ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * @usage: | |
| * | |
| * <ToggleSwitch :trueFalseLabels="['On','Off']" :trueFalseColors="['#1CD4A7','#ccc']" v-model="isOn" /> | |
| * | |
| * data() { | |
| * return { | |
| * isOn: false | |
| * } | |
| * } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * it's works for value as Object | |
| * @usage: | |
| * | |
| * <RadioBox label="Foo" value="foo" v-model="MySelectedValue" /> | |
| * <RadioBox label="Bar" value="bar" v-model="MySelectedValue" /> | |
| * <RadioBox label="Baz" value="baz" v-model="MySelectedValue" /> | |
| * | |
| * data(){ | |
| * return { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * It's works for value as Object | |
| * @usage: | |
| * | |
| * <CheckBox label="Foo" value="foo" v-model="MySelectedValues" /> | |
| * <CheckBox label="Bar" value="bar" v-model="MySelectedValues" /> | |
| * <CheckBox label="Baz" value="baz" v-model="MySelectedValues" /> | |
| * | |
| * data(){ | |
| * return { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const BlobToBase64 = function(blob){ | |
| let blobUrl = URL.createObjectURL(blob); | |
| return new Promise((resolve, reject) => { | |
| let img = new Image(); | |
| img.onload = () => resolve(img); | |
| img.onerror = err => reject(err); | |
| img.src = blobUrl; | |
| }).then(img => { | |
| URL.revokeObjectURL(blobUrl); |