Open allestaire opened 3 years ago
I had the same questions until I viewed the source code of one of the components. Here is an example of properties: props: { loading: { type: Boolean, default: true }, color: { type: String, default: '#5dc596' }, size: { type: String, default: '15px' }, margin: { type: String, default: '2px' }, radius: { type: String, default: '100%' }
loading is a boolean and it will show/hide the spinner v-show="loading" size is in 'px' width: parseFloat(this.size) 3 + parseFloat(this.margin) 6 + 'px'
Hope this helps you, if you want to explore more, you would have to check the component that you are implementing.