UNPKG

ng-halfmoon

Version:

Angular Library to build upon the halfmoon-framework

14 lines (13 loc) 597 B
import { ElementRef, OnChanges, Renderer2, SimpleChanges } from '@angular/core'; import { Applier, Sizing } from '../../utils'; export declare type Shape = 'rounded' | 'square' | undefined; export declare type ButtonAppearance = 'primary' | 'secondary' | 'success' | 'danger' | 'link' | undefined; export declare class ButtonDirective extends Applier implements OnChanges { appearance: ButtonAppearance; size: Sizing; shape: Shape; disabled: boolean; constructor(el: ElementRef, renderer: Renderer2); ngOnChanges(changes: SimpleChanges): void; private applyDisabled; }