> Helpers and Components
npm install @krknet/fe> Helpers and Components
Requirements
- Tailwind >= 1.2
- Vue >= 2.6
- clickawayDirective
- debounce (func, delay)
- deepFreeze (input)
- deepGet (obj, accessor, defaultValue)
- deepSet (obj, accessor, newValue)
- focusDirective
- formatDate (date = Date.now(), doIncludeSeconds = true)
- formatNum (number, { decimals = 0, forcePrefix = false, html = false } = {})
- hexToRGB (hex)
- throttle (func, limit)
- tween (from, to, cb, { duration = 500, easeIn = 2, easeOut = 2, onDone, isSelfStarting = true } = {}
- typeOf (object)
javascript
import { RichTable } from '@krknet/fe/components'
`Usage
`html
keyField="_id"
:isLoading="isLoading"
:columns="columns"
:hasActions="true"
:entries="filteredList"
>
keine passende Einträge
es sind noch keine Einträge im System hinterlegt
Peter Pan
000-00-00 00:00
000-00-00 00:00
000-00-00 00:00
`$3
Import
`javascript
import { vSwitch } from '@krknet/fe/components'
`Usage
`html
TableView
``