ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
35 lines (34 loc) • 1.53 kB
TypeScript
/**
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
*/
import { Direction, Directionality } from '@angular/cdk/bidi';
import { ChangeDetectorRef, ElementRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
import { ControlValueAccessor } from '@angular/forms';
import { BooleanInput, NzSafeAny, NzSizeLDSType, OnChangeType, OnTouchedType } from 'ng-zorro-antd/core/types';
import { NzRadioService } from './radio.service';
export declare type NzRadioButtonStyle = 'outline' | 'solid';
export declare class NzRadioGroupComponent implements OnInit, ControlValueAccessor, OnDestroy, OnChanges {
private cdr;
private nzRadioService;
private elementRef;
private directionality;
static ngAcceptInputType_nzDisabled: BooleanInput;
private value;
private destroy$;
onChange: OnChangeType;
onTouched: OnTouchedType;
nzDisabled: boolean;
nzButtonStyle: NzRadioButtonStyle;
nzSize: NzSizeLDSType;
nzName: string | null;
dir: Direction;
constructor(cdr: ChangeDetectorRef, nzRadioService: NzRadioService, elementRef: ElementRef, directionality: Directionality);
ngOnInit(): void;
ngOnChanges(changes: SimpleChanges): void;
ngOnDestroy(): void;
writeValue(value: NzSafeAny): void;
registerOnChange(fn: OnChangeType): void;
registerOnTouched(fn: OnTouchedType): void;
setDisabledState(isDisabled: boolean): void;
}