UNPKG

@progress/kendo-angular-inputs

Version:

Kendo UI for Angular Inputs Package - Everything you need to build professional form functionality (Checkbox, ColorGradient, ColorPalette, ColorPicker, FlatColorPicker, FormField, MaskedTextBox, NumericTextBox, RadioButton, RangeSlider, Slider, Switch, Te

60 lines (59 loc) 2.54 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { ElementRef, Renderer2, AfterViewInit, EventEmitter, ChangeDetectorRef, NgZone, Injector, OnInit, OnDestroy } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import { LocalizationService } from '@progress/kendo-angular-l10n'; import { RadioCheckBoxBase } from '../common/radio-checkbox.base'; import * as i0 from "@angular/core"; /** * Represents the Kendo UI RadioButton component. * Use this component to create a styled radio button in your Angular application. * * @example * ```html * <kendo-radiobutton * [checked]="true" * (checkedChange)="onCheckedChange($event)"> * </kendo-radiobutton> * ``` */ export declare class RadioButtonComponent extends RadioCheckBoxBase implements ControlValueAccessor, OnInit, AfterViewInit, OnDestroy { protected renderer: Renderer2; hostElement: ElementRef; protected cdr: ChangeDetectorRef; protected ngZone: NgZone; protected injector: Injector; private localizationService; hostClass: boolean; direction: string; /** * Specifies the checked state of the RadioButton. * * @default false */ checked: boolean; /** * Fires when the checked state changes. * The event does not fire when you change the state through `ngModel` or `formControl` bindings. * Use this event for two-way binding of the `checked` property. */ checkedChange: EventEmitter<boolean>; private subs; protected get defaultAttributes(): any; constructor(renderer: Renderer2, hostElement: ElementRef, cdr: ChangeDetectorRef, ngZone: NgZone, injector: Injector, localizationService: LocalizationService); ngOnInit(): void; ngAfterViewInit(): void; ngOnDestroy(): void; /** * @hidden */ handleChange: ($event: any) => void; /** * @hidden */ writeValue(value: any): void; static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonComponent, "kendo-radiobutton", ["kendoRadioButton"], { "checked": { "alias": "checked"; "required": false; }; }, { "checkedChange": "checkedChange"; }, never, never, true, never>; }