3.0.0-alpha.2 • Published 3 years ago

@sneverton/vue-grid v3.0.0-alpha.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Introdução

Plugin Vue de componentes para utilizar Grid Layout.

Instalar

yarn add @sneverton/vue-grid
import { createApp } from 'vue'
import VueGrid from "@sneverton/vue-grid";

const app = createApp({})

app.use(VueGrid)

Componentes

Todas as propiedades dos componentes podem ser utilizadas com pontos de interrupção adicionando -{breakpoint} no final para sm, md, lg e xl.

Exemplo:

<grid-container cols="auto" cols-sm="auto max-content"></grid-container>

GridContainer

NomeTipo
areasstring
colsnumber | (string | number)[] | string"
rowsnumber | (string | number)[] | string
gapnumber | string
justify"flex-start" | "flex-end" | "center" | "space-between" | "space-around"
alignItems"flex-start" | "flex-end" | "center" | "baseline" | "stretch"
alignContent"flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "stretch"
autoRowsnumber | (string | number)[] | string
autoColsnumber | (string | number)[] | string
autoFlowstring;

GridList

NomeTipo
itemWidthnumber | string
itemHeightnumber | string
gapnumber | string
justify"flex-start" | "flex-end" | "center" | "space-between" | "space-around"
alignItems"flex-start" | "flex-end" | "center" | "baseline" | "stretch"
alignContent"flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "stretch"

GridItem

NomeTipo
areanumber | (string | number)[] | string
colnumber | (string | number)[] | string
rownumber | (string | number)[] | string
colStartnumber | string
colEndnumber | string
rowStartnumber | string
rowEndnumber | string
alignSelf"flex-start" | "flex-end" | "center" | "baseline" | "auto" | "stretch"
3.0.0-alpha.1

3 years ago

3.0.0-alpha.0

3 years ago

3.0.0-alpha.2

3 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.0.12

4 years ago

1.0.1

4 years ago