@phoenix-cg/v-chess
v0.1.34
Published
## Project setup ``` npm install ```
Downloads
10
Readme
v-chess component
Project setup
npm install @phoenix-cg/v-chess
Props
| Prop | Description | Default value | |------------------|-----------------------------------------------------------------------|---------------| | sections | Sections array, required | undefined | | flats | Flats array, required | undefined | | filters | Filters object. Will be applied if clientFiltration is true | {} | | clientFiltration | If true will filter flats according to filters object | false | | reversable | If true, user will be able to reverse floors by clicking floors title | false | | isFlatLink | If true, flat cell will be rendered as link (anchor tag) | false |
Slots
| Slot | Description | Scope | |---------------|-------------------------------------|-----------------------------------------------| | floor-heading | Heading above floors | none | | floor-title | Single floor | { floor } | | flat-cell | Single flat | { flat } |