@santinobch/os-window-angular
Version:
Create windows inside a browser window!
64 lines (63 loc) • 2.85 kB
TypeScript
import { BooleanInput } from '@angular/cdk/coercion';
import { ElementRef, OnChanges, OnInit, Renderer2, SimpleChanges } from '@angular/core';
import { OsConfigService } from '../../services/os-config/os-config.service';
import { StyleClass } from '../../classes/Style.class';
import * as i0 from "@angular/core";
export declare class OsRadioComponent implements OnInit, OnChanges {
componentElement: ElementRef;
renderer: Renderer2;
globalConfigService: OsConfigService;
styleConfig: StyleClass;
constructor(componentElement: ElementRef, renderer: Renderer2, globalConfigService: OsConfigService);
get theme(): string;
set theme(v: string);
get variant(): string;
set variant(v: string);
get color(): string;
set color(v: string);
/** Where the label should appear */
private _labelPosition;
flexDirection: string;
set labelPosition(v: 'before' | 'after');
private _uniqueId;
private _name;
private _ariaLabel;
private _ariaLabelledby;
private _ariaDescribedby;
private _checked;
private _value;
private _disabled;
private _required;
get id(): string;
set id(v: string);
/** Analog to HTML 'name' attribute used to group radios for unique selection. */
get name(): string;
set name(v: string);
/** Used to set the 'aria-label' attribute on the underlying input element. */
get ariaLabel(): string;
set ariaLabel(v: string);
/** The 'aria-labelledby' attribute takes precedence as the element's text alternative. */
get ariaLabelledby(): string;
set ariaLabelledby(v: string);
/** The 'aria-describedby' attribute is read after the element's label and field type. */
get ariaDescribedby(): string;
set ariaDescribedby(v: string);
/** Whether this radio button is checked. */
get checked(): boolean;
set checked(v: BooleanInput);
/** The value of this radio button. */
get value(): any;
set value(v: any);
/** Whether the radio button is disabled. */
get disabled(): boolean;
set disabled(v: BooleanInput);
/** Whether the radio button is required. */
get required(): boolean;
set required(v: BooleanInput);
ngOnInit(): void;
ngAfterViewInit(): void;
ngOnChanges(changes: SimpleChanges): void;
check(input: HTMLInputElement): void;
static ɵfac: i0.ɵɵFactoryDeclaration<OsRadioComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<OsRadioComponent, "os-radio", never, { "theme": "theme"; "variant": "variant"; "color": "color"; "labelPosition": "labelPosition"; "id": "id"; "name": "name"; "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; "ariaDescribedby": "aria-describedby"; "checked": "checked"; "value": "value"; "disabled": "disabled"; "required": "required"; }, {}, never, ["*"], false, never>;
}