0.5.3 • Published 2 years ago
web-framework-savvycom v0.5.3
Installation
// with npm
npm install web-framework-savvycom
// with yarn
yarn add web-framework-savvycom
Usage
Here is a quick example to get you started, it's all you need:
Yes, it's really all you need to get started as you can see in this live and interactive demo:
Components
Name | Description |
---|---|
TableUI | Table data |
Filter | Table filter |
NavigationUI | Horizontal Navigation bar |
PaginationUI | Pagination |
Sidebar | Sidebar |
API
TableUI
Name | Type | Description |
---|---|---|
columnResponse | Array<Column< object >> | column names of table |
dataResponse | Array< object > | data |
api | string | url to call api |
sortConfig | ISortField or Null | config sorted fields |
onHandleSort | Function | handling sorted fields |
totalPage | number | The total number of pages. |
totalItems | number | The total number of items. |
allowFilter | boolean | enable filter. |
allowPagination | boolean | enable pagination. |
Filter
Name | Type | Description |
---|---|---|
condition | IFilter | condition of filter |
onHandleFilter | Function | handling filter |
columns | Array<Column< object >> | columned filter |
PaginationUI
Name | Type | Description |
---|---|---|
currentPageIndex | number | current page index number |
pageCount | number | handling filter |
onChangePage | Function | on handle change page number |
License
This project is licensed under the terms of the
0.5.3
2 years ago
0.5.2
2 years ago
0.5.1
2 years ago
0.5.0
2 years ago
0.4.9
2 years ago
0.4.8
2 years ago
0.4.7
2 years ago
0.4.6
2 years ago
0.4.5
2 years ago
0.4.4
2 years ago
0.4.3
2 years ago
0.4.2
2 years ago
0.4.1
2 years ago
0.4.0
2 years ago
0.3.9
2 years ago
0.3.8
2 years ago
0.3.7
2 years ago
0.3.6
2 years ago
0.3.5
2 years ago
0.3.4
2 years ago
0.3.3
2 years ago
0.3.2
2 years ago
0.3.1
2 years ago
0.3.0
2 years ago
0.2.8
2 years ago
0.2.7
2 years ago
0.2.6
2 years ago
0.2.5
2 years ago
0.2.4
2 years ago
0.2.3
2 years ago
0.2.2
2 years ago
0.2.1
2 years ago
0.2.0
2 years ago
0.1.9
2 years ago
0.1.8
2 years ago
0.1.7
2 years ago
0.1.6
2 years ago
0.1.5
2 years ago
0.1.4
2 years ago
0.1.3
2 years ago
0.1.2
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago