-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: wt-table-actions-docs [WTEL-3960]
- Loading branch information
Showing
4 changed files
with
43 additions
and
24 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
docs/pages/webitel-ui/components/wt-table-actions/Readme.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<script setup> | ||
import Docs from './wt-table-actions-docs.vue'; | ||
import ExampleTableActions from './examples/example-table-actions.vue'; | ||
</script> | ||
|
||
# WtTableActions | ||
|
||
## Props | ||
::: raw | ||
<Docs /> | ||
::: | ||
|
||
## Example Table Actions | ||
::: raw | ||
<ExampleTableActions /> | ||
::: | ||
|
||
::: details Code | ||
<<< ./examples/example-table-actions.vue | ||
::: |
14 changes: 14 additions & 0 deletions
14
docs/pages/webitel-ui/components/wt-table-actions/examples/example-table-actions.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<script setup> | ||
const callAlert = (arg) => alert(arg); | ||
</script> | ||
|
||
<template> | ||
<wt-table-actions | ||
:icons="['import', 'export', 'filter-reset', 'column-select', 'refresh', 'settings']" | ||
@input="callAlert" | ||
/> | ||
</template> | ||
|
||
<style scoped lang="scss"> | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters