-
Notifications
You must be signed in to change notification settings - Fork 601
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
50 additions
and
209 deletions.
There are no files selected for viewing
4 changes: 0 additions & 4 deletions
4
packages/web-components/fast-components-msft/src/accordion/README.md
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
packages/web-components/fast-components/src/accordion/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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# fast-accordion | ||
`fast-accordion` is a web component implementation of an [Accordion](https://w3c.github.io/aria-practices/#accordion). | ||
|
||
For more information view the [component specification](./accordion.spec.md). | ||
For more information view the [component specification](../../../fast-foundation/src/accordion/accordion.spec.md). |
203 changes: 0 additions & 203 deletions
203
packages/web-components/fast-components/src/accordion/accordion.spec.md
This file was deleted.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
packages/web-components/fast-foundation/src/accordion/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,24 @@ | ||
--- | ||
id: fast-accordion | ||
title: fast-accordion | ||
sidebar_label: fast-accordion | ||
custom_edit_url: https://github.com/microsoft/fast-dna/edit/master/packages/web-components/fast-foundation/src/accordion/README.md | ||
--- | ||
|
||
## Applying Custom Styles | ||
|
||
```ts | ||
import { customElement } from "@microsoft/fast-element"; | ||
import { Accordion, AccordionTemplate as template } from "@microsoft/fast-foundation"; | ||
import { MyAccordionStyles as styles } from "./accordion.styles"; | ||
|
||
@customElement({ | ||
name: "fast-accordion", | ||
template, | ||
styles, | ||
shadowOptions: { | ||
delegatesFocus: true, | ||
}, | ||
}) | ||
export class FASTAccordion extends Accordion {} | ||
``` |
24 changes: 24 additions & 0 deletions
24
packages/web-components/fast-foundation/src/accordion/accordion-item/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,24 @@ | ||
--- | ||
id: fast-accordion-item | ||
title: fast-accordion-item | ||
sidebar_label: fast-accordion-item | ||
custom_edit_url: https://github.com/microsoft/fast-dna/edit/master/packages/web-components/fast-foundation/src/accordion/README.md | ||
--- | ||
|
||
## Applying Custom Styles | ||
|
||
```ts | ||
import { customElement } from "@microsoft/fast-element"; | ||
import { AccordionItem, AccordionItemTemplate as template } from "@microsoft/fast-foundation"; | ||
import { MyAccordionItemStyles as styles } from "./accordion-item.styles"; | ||
|
||
@customElement({ | ||
name: "fast-accordion-item", | ||
template, | ||
styles, | ||
shadowOptions: { | ||
delegatesFocus: true, | ||
}, | ||
}) | ||
export class FASTAccordionItem extends AccordionItem {} | ||
``` |
File renamed without changes.
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