Skip to main content

Radio

<gstock-radio> | GstockRadio

API

Propiedades

Nombre Descripción Reflects Tipo Por defecto
checked By default false Reflects boolean false
label By default “The radio’s label”. string "The radio's label"
size The radio’s size. By default, medium. Reflects 'small' | 'medium' | 'large' 'medium'
name Name groups the radios into a radio group. string -
value Value to be returned to the radio group when selected. string -
disabled Disable the radio. Reflects boolean false
updateComplete

A read-only promise that resolves when the component has finished updating.

Aprende más sobre atributos y propiedades .

Eventos

Nombre React Event Descripción Event Detail
gstock-blur-event onGstockBlurEvent Emitted when the radio loses focus. -
gstock-focus-event onGstockFocusEvent Emitted when the radio gains focus. -

Aprende más sobre eventos .

Partes

Nombre Descripción
base The component’s base wrapper.
input The radio type input.
label The radio label

Aprende más sobre partes CSS .