Skip to content

Commit

Permalink
feat: add init event
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Leykin committed Sep 8, 2022
1 parent 39973ea commit 1b85301
Show file tree
Hide file tree
Showing 11 changed files with 123 additions and 2,215 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import KeDevtools from '@kazanexpress/frontend-devtools';
<KeDevtools
:items="devtoolsItems"
local-storage-key="ke-devtools-example"
@init="onInit"
@change="onChange"
>
<template #item-example-save="{ active }">
Expand All @@ -37,7 +38,8 @@ import KeDevtools from '@kazanexpress/frontend-devtools';
### Events
| name | payload | description |
|--|--|--|
|change|[TChangePayload](#types)|Вызывается при каждом клике на элемент панели
|change|[TChangePayload](#types)|Вызывается при каждом клике на элемент панели|
|init|string[]|Вызывается при mounted компонента, передавая все активные флаги|

### Slots

Expand Down
Loading

0 comments on commit 1b85301

Please sign in to comment.