-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(docs): migration scripts (#2243)
- Loading branch information
1 parent
432ea88
commit 9a3c732
Showing
94 changed files
with
38,998 additions
and
117 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,64 @@ | ||
--- | ||
title: "ion-accordion-group" | ||
hide_table_of_contents: true | ||
--- | ||
import Tabs from '@theme/Tabs'; | ||
import TabItem from '@theme/TabItem'; | ||
|
||
import Props from '@site/static/auto-generated/accordion-group/props.md'; | ||
import Events from '@site/static/auto-generated/accordion-group/events.md'; | ||
import Methods from '@site/static/auto-generated/accordion-group/methods.md'; | ||
import Parts from '@site/static/auto-generated/accordion-group/parts.md'; | ||
import CustomProps from '@site/static/auto-generated/accordion-group/custom-props.md'; | ||
import Slots from '@site/static/auto-generated/accordion-group/slots.md'; | ||
|
||
|
||
|
||
import EncapsulationPill from '@components/page/api/EncapsulationPill'; | ||
import APITOCInline from '@components/page/api/APITOCInline'; | ||
|
||
<EncapsulationPill type="shadow" /> | ||
|
||
<h2 className="table-of-contents__title">Contents</h2> | ||
|
||
<APITOCInline | ||
toc={toc} | ||
maxHeadingLevel={2} | ||
autogenerated={[Props, Events, Methods, Parts, CustomProps, Slots]} | ||
/> | ||
|
||
|
||
|
||
Accordion group is a container for accordion instances. It manages the state of the accordions and provides keyboard navigation. | ||
|
||
For more information as well as usage, see the [Accordion Documentation](./accordion) | ||
|
||
## Interfaces | ||
|
||
### AccordionGroupChangeEventDetail | ||
|
||
```typescript | ||
interface AccordionGroupChangeEventDetail<T = any> { | ||
value: T; | ||
} | ||
``` | ||
|
||
### AccordionGroupCustomEvent | ||
|
||
While not required, this interface can be used in place of the `CustomEvent` interface for stronger typing with Ionic events emitted from this component. | ||
|
||
```typescript | ||
interface AccordionGroupCustomEvent<T = any> extends CustomEvent { | ||
detail: AccordionGroupChangeEventDetail<T>; | ||
target: HTMLIonAccordionGroupElement; | ||
} | ||
``` | ||
|
||
|
||
|
||
<Props /> | ||
<Events /> | ||
<Methods /> | ||
<Parts /> | ||
<CustomProps /> | ||
<Slots /> |
Oops, something went wrong.
9a3c732
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: