@duoduo-oba/ng-devui
Version:
DevUI components based on Angular
28 lines (27 loc) • 876 B
TypeScript
import { ElementRef, OnInit, EventEmitter } from '@angular/core';
export declare type IButtonType = 'button' | 'submit' | 'reset';
export declare type IButtonStyle = 'common' | 'primary' | 'text' | 'text-dark';
export declare type IButtonSize = 'lg' | 'md' | 'sm' | 'xs';
export declare class ButtonComponent {
id: string;
type: IButtonType;
bsStyle: IButtonStyle;
bsSize: IButtonSize;
bordered: boolean;
icon: string;
disabled: boolean;
showLoading: boolean;
width?: string;
autofocus: boolean;
btnClick: EventEmitter<any>;
buttonContent: ElementRef;
constructor();
onClick(event: any): void;
hasContent(): any;
}
export declare class BtnAutoFocusDirective implements OnInit {
private element;
dBtnAutofocus: boolean;
constructor(element: ElementRef);
ngOnInit(): void;
}