0.5.5 • Published 6 years ago
@renanhangai/vue-components v0.5.5
vue-components
Vue sample components
Nuxt
On nuxt.config.js
module.exports = {
// ...
modules: [
// ...
[
'@renanhangai/vue-components/nuxt',
{
framework: 'buefy',
options: {
// Framework options
},
},
],
],
};BuefyOptions
export type VueComponentBuefyPluginOptions = {
prefix?: string;
inputFileIconDefault?: string;
inputFileIconDisabled?: string;
inputFileIconRemove?: string;
// More masks
inputMasks?: {
[key: string]: any;
};
};Components
InfiniteList
Creates an infinite list. The list will grow as every item is being filled.
Props
| Name | Description | Type | Required | Default |
|---|---|---|---|---|
| item | The item to be generate when the list requires a new one | Function / Object | false | - |
| isItemEmpty | Check if the item is empty (to be removed from the list) | Function | false | isItemEmptyDefault |
| itemClass | The item class | String | false | - |
| transition | The transition name to apply | String | false | 'transition' |
| data | Data to pass to the item slot | Object | false | - |
| value | Array of items | Array | false | - |
| disabled | Check if can create new items | Boolean | false | - |
Events
| Event Name | Description | Parameters |
|---|---|---|
| input | - | - |
Table
Better table for buefy
Props
| Name | Description | Type | Required | Default |
|---|---|---|---|---|
| items | - | Array | false | - |
| columns | - | Array | false | - |
| actions | - | Array | false | - |
| rowTo | - | Function | false | - |
| loading | - | Boolean | false | - |
| emptyText | - | String | false | 'Nenhum item encontrado' |
Events
| Event Name | Description | Parameters |
|---|---|---|
| click | - | - |
InputFile
Props
| Name | Description | Type | Required | Default |
|---|---|---|---|---|
| value | - | String / File | false | - |
| disabled | - | Boolean | false | - |
| loading | - | Boolean | false | - |
| removable | - | Boolean | false | true |
| placeholder | - | String | false | null |
Events
| Event Name | Description | Parameters |
|---|---|---|
| input | - | - |
TableSearch
Props
| Name | Description | Type | Required | Default |
|---|---|---|---|---|
| search | - | Array / String | true | - |
| searchOptions | - | Object | false | - |
| searchPlaceholder | - | String | false | 'Digite para searchr' |
| items | - | Array | false | - |
0.5.5
6 years ago
0.5.4
6 years ago
0.5.3
6 years ago
0.5.2
6 years ago
0.5.1
6 years ago
0.5.0
6 years ago
0.4.5
6 years ago
0.4.4
6 years ago
0.4.3
6 years ago
0.4.2
6 years ago
0.4.1
6 years ago
0.4.0
6 years ago
0.3.1
6 years ago
0.3.0
6 years ago
0.2.0
6 years ago
0.1.3
6 years ago
0.1.2
6 years ago
0.1.1
6 years ago
0.1.0
6 years ago
0.0.9
6 years ago
0.0.8
6 years ago
0.0.7
6 years ago
0.0.6
6 years ago
0.0.5
6 years ago
0.0.4
6 years ago
0.0.3
6 years ago
0.0.2
6 years ago