@vindev/particle
Version:
Angular Component Library using Tailwind
79 lines (78 loc) • 3.04 kB
TypeScript
import { AfterViewInit } from '@angular/core';
import { BaseAtom } from '../../shared/mixins';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
import * as i2 from "../../shared/utils/color.directive";
import * as i3 from "../../shared/utils/ripple.directive";
import * as i4 from "../../shared/utils/ghost.directive";
import * as i5 from "../../shared/utils/icon.directive";
import * as i6 from "../../shared/utils/size.directive";
declare const ButtonMixins: {
new (...args: any[]): {
left: boolean;
setLeft: string | boolean;
right: boolean;
setRight: string | boolean;
top: boolean;
setTop: string | boolean;
bottom: boolean;
setBottom: string | boolean;
center: boolean;
setCenter: string | boolean;
activePos(): import("../../shared/mixins").PositionOpt;
};
} & {
new (...args: any[]): {
loading: boolean;
setLoading: string | boolean;
};
} & {
new (...args: any[]): {
action: import("@angular/core").EventEmitter<any>;
clicked(event?: MouseEvent | undefined): void;
Sizes: typeof import("../../shared/enums").Sizes;
size: import("../../shared/enums").Sizes;
setSize: string;
setS: string;
setSmall: string;
setM: string;
setMedium: string;
setL: string;
setLarge: string;
setXl: string;
setXlarge: string;
icon: string;
disabled: boolean;
setDisabled: boolean | "";
ghost: boolean;
setGhost: boolean | "";
unset: boolean;
activeTheme: string;
primary: boolean;
setPrimary: boolean | "";
secondary: boolean;
setSecondary: boolean | "";
warn: boolean;
setWarn: boolean | "";
naked: boolean;
setNaked: boolean | "";
setTheme(theme: {
primary?: boolean | undefined;
secondary?: boolean | undefined;
warn?: boolean | undefined;
naked?: boolean | undefined;
}): void;
};
} & typeof BaseAtom;
export declare class ButtonComponent extends ButtonMixins implements AfterViewInit {
constructor();
ngAfterViewInit(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "ptcl-btn", never, {}, {}, never, ["*"], false, never>;
}
export declare class ButtonComponentModule {
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponentModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<ButtonComponentModule, [typeof ButtonComponent], [typeof i1.CommonModule, typeof i2.ColorDirectiveModule, typeof i3.RippleDirectiveModule, typeof i4.GhostDirectiveModule, typeof i5.IconDirectiveModule, typeof i6.SizeDirectiveModule], [typeof ButtonComponent]>;
static ɵinj: i0.ɵɵInjectorDeclaration<ButtonComponentModule>;
}
export {};