Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 74059b5

Browse files
committed
Fix README backtick formatted
A fenced HTML code block wasn't closed properly, which affected subsequent markdown formatting syntax. This commit closes that block, and adds newlines between headings and other fenced code blocks.
1 parent c70a9d0 commit 74059b5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ If none of the tabs have `aria-selected=true`, then the first tab will be select
4141
<button type="button" id="tab-three" role="tab">Tab three</button>
4242
<!-- ... -->
4343
</tab-container>
44+
```
4445

4546
### Events
4647

@@ -109,6 +110,7 @@ In those cases, apply `data-tab-container-no-tabstop` to the `tabpanel` element.
109110
### Unmanaged slots
110111

111112
`<tab-container>` aims to simplify complex markup away in the ShadowDOM, so that the HTML you end up writing is overall less. However sometimes it can be useful to have _full_ control over the markup. Each of the `::part` selectors are also `<slot>`s, this means you can take any part and slot it, overriding the built-in ShadowDOM.
113+
112114
#### Unmanaged `tablist`
113115

114116
You are able to provide your own `role=tablist` and `<tab-container>` will accommodate. This can be useful if you need extra presentational markup in the tablist. But remember:
@@ -148,6 +150,7 @@ You are able to slot the `tablist-tab-wrapper` part. This slot manages the tabs
148150
<div role="tabpanel"></div>
149151
</tab-container>
150152
```
153+
151154
#### Unmanaged `tablist-wrapper`
152155

153156
If you want to take full control over the entire tab region, including managing the content before and after the tabs, then you can slot the `tablist-wrapper` element. Bear in mind if you're supplying this element that:

0 commit comments

Comments
 (0)