UNPKG

@suyouwanggang/p-ui

Version:

`p-ui`是一套使用原生`Web Components`规范开发的跨框架UI组件库,基于`lit-elment`库开发。 [github项目地址](https://github.com/suyouwanggang/p-ui)

21 lines 906 B
import { LitElement } from 'lit-element'; declare type showType = 'true' | 'false' | ''; declare type typeType = 'success' | 'warning' | 'error'; declare type dirType = 'top' | 'topleft' | 'topright' | 'left' | 'lefttop' | 'leftbottom' | 'bottom' | 'bottomleft' | 'bottomright' | 'right' | 'righttop' | 'rightbottom' | 'auto'; export default class PTips extends LitElement { show: showType; tips: string; color: string; type: typeType; dir: dirType; static get styles(): import("lit-element").CSSResult; private _isAutoDir; private _autoHander; firstUpdated(changeMap: Map<string | number | symbol, unknown>): void; disconnectedCallback(): void; private _caculateAutoDir; render(): import("lit-element").TemplateResult; update(changeMap: Map<string | number | symbol, unknown>): void; } export {}; //# sourceMappingURL=p-tips.d.ts.map