2.2.0 • Published 2 years ago
mahardikakdenie-vue-button v2.2.0
Vue Button Lib
Features
- Button default
- link button, router-link
npm i mahardikakdenie-vue-button
Import and register component
Global
import { createApp } from 'vue';
import App from './App.vue';
import VueButton from 'mahardikakdenie-vue-button'
const app = createApp(App);
app.use(VueButton);
Local
<script>
import VueButton from 'mahardikakdenie-vue-button'
export default {
components: { VueButton }
}
</script>
*Property Data
<script>
props: {
btnClass: {
type: String,
default: 'vue-button'
},
isDisabled: {
type: Boolean,
default: false,
},
isLoading: {
type: Boolean,
default: false,
},
isDiv: {
type: Boolean,
default: false,
},
isLink: {
type: Boolean,
default: false,
},
iconPosition: {
type: String,
default: ''
},
text: {
type: String,
default: 'This is Button Text'
},
iconClass: {
type: String,
default: ''
},
icon: {
type: String,
default: '',
},
loadingClass: {
type: String,
default: '',
},
link: {
type: String,
default: '',
}
},
</script>
2.2.0
2 years ago
2.1.0
2 years ago
2.0.0
2 years ago
1.9.0
2 years ago
1.8.0
2 years ago
1.7.0
2 years ago
1.6.0
2 years ago
1.5.0
2 years ago
1.4.0
2 years ago
1.3.0
2 years ago
1.2.0
2 years ago
1.1.0
2 years ago
1.0.0
2 years ago
0.9.0
2 years ago
0.8.0
2 years ago
0.7.0
2 years ago
0.6.0
2 years ago
0.5.0
2 years ago
0.4.0
2 years ago
0.2.0
2 years ago
0.1.0
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago
0.0.0
2 years ago