Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

Commit

Permalink
docs(collapsible): fix opened event not displayed on panel (#1064)
Browse files Browse the repository at this point in the history
  • Loading branch information
juliodialpad committed Jul 14, 2023
1 parent 42b8572 commit 51a8f52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/collapsible/collapsible.stories.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import { action } from '@storybook/addon-actions';
import { DtCollapsible } from './';
import { createTemplateFromVueFile } from '@/common/storybook_utils';

import DtCollapsibleDefaultStory from './collapsible_default.story.vue';

export const argsData = {
anchorText: 'Click me to toggle Content',
onOpened: action('opened'),
};

const argTypesData = {
Expand Down
1 change: 1 addition & 0 deletions components/collapsible/collapsible_default.story.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
:content-class="contentClass"
:aria-label="ariaLabel"
:aria-labelledby="ariaLabelledBy"
@opened="onOpened"
>
<template
v-if="anchor"
Expand Down

0 comments on commit 51a8f52

Please sign in to comment.