@suyouwanggang/p-ui
Version:
`p-ui`是一套使用原生`Web Components`规范开发的跨框架UI组件库,基于`lit-elment`库开发。 [github项目地址](https://github.com/suyouwanggang/p-ui)
35 lines • 1.09 kB
TypeScript
import { LitElement, TemplateResult } from "lit-element";
declare type targetType = '_blank' | '_parent' | '_self' | '_top';
declare type shapeType = 'circle' | '';
export declare type buttonTypeValue = 'primary' | 'danger' | 'flat' | 'dashed';
export default class PButton extends LitElement {
static get styles(): import("lit-element").CSSResult;
disabled: boolean;
block: boolean;
toggle: boolean;
type: buttonTypeValue;
shape: shapeType;
name: string;
value: string;
checked: boolean;
loading: boolean;
href: string;
target: targetType;
rel: string;
download: string;
icon: string;
firstUpdated(): void;
render(): TemplateResult;
get iconEl(): Element;
get btn(): Element;
}
export declare class PButtonGroup extends LitElement {
static get styles(): import("lit-element").CSSResult;
get elements(): NodeListOf<PButton>;
firstUpdated(): void;
value: string;
name: string;
render(): TemplateResult;
}
export {};
//# sourceMappingURL=p-button.d.ts.map