@@ -78,33 +78,33 @@ This needed to work with [`btn-group`](/components/btn-group.html) for correct s
78
78
79
79
#### Props
80
80
81
-
Name | Type | Default | Required | Description
82
-
---------------- | ---------- | -------- | -------- | -----------------------
83
-
`type` | String | default | | Button types in Bootstrap. Supported: `default`, `primary`, `info`, `success`, `warning`, `danger`, `link`.
84
-
`native-type` | String | button | | Native button type. Supported: `button`, `submit`, `reset`.
85
-
`size` | String | | | Optional button sizes. Supported: `lg`, `sm`, `xs`.
86
-
`block` | Boolean | false | | Apply block level style.
87
-
`active` | Boolean | false | | Apply active state.
88
-
`disabled` | Boolean | false | | Apply disabled state.
89
-
`href` | String | | | An native link will be created if this prop present.
90
-
`target` | String | | | Native link prop.
91
-
`to` | String or Object | | | An Vue-Router link will be created if this prop present.
92
-
`replace` | Boolean | false | | Vue-Router link prop.
93
-
`append` | Boolean | false | | Vue-Router link prop.
94
-
`exact` | Boolean | false | | Vue-Router link prop.
95
-
`input-type` | String | | | Use this prop to turn btn to checkbox or radio input. Supported types: `checkbox` / `radio`
96
-
`input-value` | | | | The value of input.
97
-
`v-model` | | | | The model of input. Note that this prop **is required** if `input-type` present.
98
-
`justified` | Boolean | false | | Due to Bootstrap limitation, this prop is needed while using `<btn>` in `<btn-group justified>`. Otherwise it can be ignored.
81
+
| Name | Type | Default | Required | Description |
82
+
|---------------|------------------|---------|----------|-------------------------------------------------------------------------------------------------------------------------------|
83
+
| `type` | String | default | | Button types in Bootstrap. Supported: `default`, `primary`, `info`, `success`, `warning`, `danger`, `link`. |
84
+
| `native-type` | String | button | | Native button type. Supported: `button`, `submit`, `reset`. |
85
+
| `size` | String | | | Optional button sizes. Supported: `lg`, `sm`, `xs`. |
86
+
| `block` | Boolean | false | | Apply block level style. |
87
+
| `active` | Boolean | false | | Apply active state. |
88
+
| `disabled` | Boolean | false | | Apply disabled state. |
89
+
| `href` | String | | | An native link will be created if this prop present. |
90
+
| `target` | String | | | Native link prop. |
91
+
| `to` | String or Object | | | An Vue-Router link will be created if this prop present. |
92
+
| `replace` | Boolean | false | | Vue-Router link prop. |
93
+
| `append` | Boolean | false | | Vue-Router link prop. |
94
+
| `exact` | Boolean | false | | Vue-Router link prop. |
95
+
| `input-type` | String | | | Use this prop to turn btn to checkbox or radio input. Supported types: `checkbox` / `radio` |
96
+
| `input-value` | | | | The value of input. |
97
+
| `v-model` | | | | The model of input. Note that this prop **is required** if `input-type` present. |
98
+
| `justified` | Boolean | false | | Due to Bootstrap limitation, this prop is needed while using `<btn>` in `<btn-group justified>`. Otherwise it can be ignored. |
99
99
100
100
#### Slots
101
101
102
-
Name | Description
103
-
--------- | -----------------------
104
-
`default` | The button body.
102
+
| Name | Description |
103
+
|-----------|------------------|
104
+
| `default` | The button body. |
105
105
106
106
#### Events
107
107
108
-
Name | Params | Description
109
-
----------- | ------ | ---------------
110
-
`click` | | Click event of button / link.
108
+
| Name | Params | Description |
109
+
|---------|--------|-------------------------------|
110
+
| `click` | | Click event of button / link. |
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4