0.5.5 • Published 5 years ago

@renanhangai/vue-components v0.5.5

Weekly downloads
59
License
MIT
Repository
-
Last release
5 years ago

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

NameDescriptionTypeRequiredDefault
itemThe item to be generate when the list requires a new oneFunction / Objectfalse-
isItemEmptyCheck if the item is empty (to be removed from the list)FunctionfalseisItemEmptyDefault
itemClassThe item classStringfalse-
transitionThe transition name to applyStringfalse'transition'
dataData to pass to the item slotObjectfalse-
valueArray of itemsArrayfalse-
disabledCheck if can create new itemsBooleanfalse-

Events

Event NameDescriptionParameters
input--

Table

Better table for buefy

Props

NameDescriptionTypeRequiredDefault
items-Arrayfalse-
columns-Arrayfalse-
actions-Arrayfalse-
rowTo-Functionfalse-
loading-Booleanfalse-
emptyText-Stringfalse'Nenhum item encontrado'

Events

Event NameDescriptionParameters
click--

InputFile

Props

NameDescriptionTypeRequiredDefault
value-String / Filefalse-
disabled-Booleanfalse-
loading-Booleanfalse-
removable-Booleanfalsetrue
placeholder-Stringfalsenull

Events

Event NameDescriptionParameters
input--

TableSearch

Props

NameDescriptionTypeRequiredDefault
search-Array / Stringtrue-
searchOptions-Objectfalse-
searchPlaceholder-Stringfalse'Digite para searchr'
items-Arrayfalse-
0.5.5

5 years ago

0.5.4

5 years ago

0.5.3

5 years ago

0.5.2

5 years ago

0.5.1

5 years ago

0.5.0

5 years ago

0.4.5

5 years ago

0.4.4

5 years ago

0.4.3

5 years ago

0.4.2

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago