quarkd
Version:
Mobile UI Components built on Web Components.
35 lines (34 loc) • 1.02 kB
TypeScript
import { QuarkElement } from "quarkc";
import "@quarkd/icons/lib/close";
export interface Props {
position?: "top" | "bottom" | "left" | "right";
round?: boolean;
open: boolean;
closeable?: boolean;
safearea?: boolean;
zindex?: number;
}
export interface CustomEvent {
close: () => void;
}
declare class QuarkPopupExtra extends QuarkElement {
open: boolean;
safearea: boolean;
hideclose: boolean;
title: string;
subtitle: string;
zindex?: number | string;
contentClassNames: string;
wrap: any;
componentDidMount(): void;
shouldComponentUpdate(propName: string, oldValue: string | boolean, newValue: string | boolean): boolean;
componentDidUpdate(propName: string, oldValue: string, newValue: string): void;
componentWillUnmount(): void;
dispatchClose(): void;
dealClass(): void;
handleCloseBtnClick: () => void;
handleClick: () => void;
handleContentScroll: () => void;
render(): any;
}
export default QuarkPopupExtra;