1.0.0 • Published 2 years ago

@ks-web-components/ks-grid v1.0.0

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

ks-grid

This component should be used with the Grid Item Component. It allows users to render content in a fixed grid by specifying coordinates and sizes.

npm npm bundle size

Usage

npm install @ks-web-components/ks-grid

Live Example

Attributes

PropertyAttributeTypeDefaultDescription
columnscolumnsnumber12The number of columns
densedenseboolfalseIf true, grid items will fill gaps in the grid
gapgapnumber10The gap between grid items in pixels
rowHeightrow-heightnumber16The height of each grid row in pixels

Slots

NameDescription
default slotThe content of the component, see Grid Item

Events

NametypeDescription
onbreakpointchangeEventThe active responsive breakpoint of the grid has changed
1.0.0

2 years ago

0.0.13

2 years ago

1.0.0-rc.1

2 years ago

0.0.12

2 years ago

0.0.10

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.3

2 years ago