feat(segment-button, toast): add additional parts docs (#21532)

This commit is contained in:
Liam DeBeasi
2020-06-30 11:31:54 -04:00
committed by GitHub
parent 9413aa0bac
commit a5e4669c4b
5 changed files with 26 additions and 4 deletions

View File

@ -796,10 +796,11 @@ export class SegmentButtonExample {
## Shadow Parts
| Part | Description |
| ------------- | ------------------------------------------------------------- |
| `"indicator"` | The indicator displayed on the checked segment button. |
| `"native"` | The native HTML button element that wraps all child elements. |
| Part | Description |
| ------------------------ | --------------------------------------------------------------------------------- |
| `"indicator"` | The indicator displayed on the checked segment button. |
| `"indicator-background"` | The background element for the indicator displayed on the checked segment button. |
| `"native"` | The native HTML button element that wraps all child elements. |
## CSS Custom Properties

View File

@ -12,6 +12,7 @@ let ids = 0;
*
* @part native - The native HTML button element that wraps all child elements.
* @part indicator - The indicator displayed on the checked segment button.
* @part indicator-background - The background element for the indicator displayed on the checked segment button.
*/
@Component({
tag: 'ion-segment-button',