kopia lustrzana https://github.com/shoelace-style/shoelace
fix docs
rodzic
13b2f8018d
commit
ae0eddfb25
|
@ -10,7 +10,10 @@ import { HasSlotController } from '~/internal/slot';
|
|||
* @since 2.0
|
||||
* @status stable
|
||||
*
|
||||
* @slot - The radio's label.
|
||||
*
|
||||
* @event sl-blur - Emitted when the button loses focus.
|
||||
* @event sl-change - Emitted when the button's checked state changes.
|
||||
* @event sl-focus - Emitted when the button gains focus.
|
||||
*
|
||||
* @slot - The button's label.
|
||||
|
|
|
@ -5,19 +5,12 @@ import { FormSubmitController } from '~/internal/form-control';
|
|||
import { watch } from '~/internal/watch';
|
||||
|
||||
/**
|
||||
* @since 2.0
|
||||
* @status stable
|
||||
*
|
||||
* @slot - The radio's label.
|
||||
* The following events are emitted by the base class. When extending, these comments should be prepended to the
|
||||
* component so they show up in its documentation.
|
||||
*
|
||||
* @event sl-blur - Emitted when the control loses focus.
|
||||
* @event sl-change - Emitted when the control's checked state changes.
|
||||
* @event sl-focus - Emitted when the control gains focus.
|
||||
*
|
||||
* @csspart base - The component's internal wrapper.
|
||||
* @csspart control - The radio control.
|
||||
* @csspart checked-icon - The container the wraps the checked icon.
|
||||
* @csspart label - The radio label.
|
||||
*/
|
||||
export default abstract class RadioBase extends LitElement {
|
||||
@query('input[type="radio"], button') input: HTMLInputElement;
|
||||
|
|
Ładowanie…
Reference in New Issue