UNPKG

igniteui-webcomponents

Version:

Ignite UI for Web Components is a complete library of UI components, giving you the ability to build modern web applications using encapsulation and the concept of reusable components in a dependency-free approach.

52 lines (51 loc) 1.42 kB
import { LitElement } from 'lit'; /** * The igc-radio-group component unifies one or more igc-radio buttons. * * @element igc-radio-group * * @slot - Default slot */ export default class IgcRadioGroupComponent extends LitElement { static readonly tagName = "igc-radio-group"; static styles: import("lit").CSSResult; static register(): void; private _defaultValue; private _internals; private _name; private _value; private _radios; /** * Alignment of the radio controls inside this group. * @attr */ alignment: 'vertical' | 'horizontal'; set defaultValue(value: string); get defaultValue(): string; /** * Gets/Sets the name for all child igc-radio components. * @attr */ set name(value: string); get name(): string; /** * Gets/Sets the checked igc-radio element that matches `value` * @attr */ set value(value: string); get value(): string; constructor(); protected createRenderRoot(): HTMLElement | DocumentFragment; protected firstUpdated(): void; private _setCSSGridVars; private _setRadiosDefaultChecked; private _setRadiosName; private _setDefaultValue; private _setSelectedRadio; protected render(): import("lit-html").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'igc-radio-group': IgcRadioGroupComponent; } }