UNPKG

@microsoft/windows-admin-center-sdk

Version:

Microsoft - Windows Admin Center Shell

36 lines (35 loc) 1.5 kB
import { AfterViewInit, Injector } from '@angular/core'; import { CoreBaseComponent } from '../../common/base.component'; import * as i0 from "@angular/core"; /** * Directive for applying standard classes and attributes to fieldsets to automatically apply aria attributes when enabled/disabled. * TODO: there is an angular bug where fieldsets do not correctly replicate there disabled state to child ngModels. * See if there is a way we can fix it. */ export declare class FieldsetDirective extends CoreBaseComponent implements AfterViewInit { /** * The source name to use for logging */ protected get logSourceName(): string; /** * Indicates that this fieldset is disabled */ get disabled(): boolean; set disabled(value: boolean); /** * Injected @see ChangeDetectorRef instance bound to this component. */ private changeDetectorRef; /** * Internal placeholder for the value of 'disabled' */ private internalDisabled; /** * Constructs a new instance of @see FieldsetDirective * @param injector the angular injection service for the base classes @SmeInjectableBase Annotation. */ constructor(injector: Injector); ngAfterViewInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration<FieldsetDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<FieldsetDirective, "fieldset", never, { "disabled": "disabled"; }, {}, never, never, false, never>; }