Skip to content

Commit

Permalink
cleaned up read mes
Browse files Browse the repository at this point in the history
  • Loading branch information
eljefe223 committed May 28, 2020
1 parent c1005c6 commit e033465
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 209 deletions.

This file was deleted.

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).

This file was deleted.

24 changes: 24 additions & 0 deletions packages/web-components/fast-foundation/src/accordion/README.md
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 {}
```
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 {}
```
2 changes: 1 addition & 1 deletion specs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Here you'll find specifications for custom elements and other library features.
## Web Component Specifications
| Name | Spec | Component |
| :--------- | :---------: | ---------: |
| [Accordion](../packages/web-components/fast-components/src/accordion/accordion-spec.md) | :white_check_mark: | :white_check_mark: |
| [Accordion](../packages/web-components/fast-foundation/src/accordion/accordion-spec.md) | :white_check_mark: | :white_check_mark: |
| Alert | -- | -- |
| [Anchored region](../packages/web-components/fast-foundation/src/anchored-region/anchored-region.spec.md) | :white_check_mark: | :white_check_mark: |
| Avatar | -- | -- |
Expand Down

0 comments on commit e033465

Please sign in to comment.