poe-custom-elements
Version:
Path of Exile custom elements
34 lines (33 loc) • 1.15 kB
TypeScript
import { PropertyValues, LitElement, TemplateResult, CSSResult } from 'lit';
/**
* @summary Divination Card
* @cssproperty --padding-inline - The inline padding to use for for element.
* @cssproperty --padding-block - The block padding to use for for element.
* @event navigate Event - Emits when on click of one of link elements.
*/
export declare class DivinationCardElement extends LitElement {
#private;
name: string;
size: CardSize;
boss?: string;
baseUrl: string;
href: string;
hrefPattern: string;
stackSize: number;
flavourText: string;
artFilename: string;
rewardHtml: string;
dropLevel: string;
slug: string;
protected willUpdate(changedProperties: PropertyValues<this>): void;
protected render(): TemplateResult;
static styles: CSSResult;
}
export type CardSize = (typeof CARD_SIZE_VARIANTS)[number];
export declare const CARD_SIZE_VARIANTS: readonly ["50", "75", "small", "medium", "large"];
declare global {
interface HTMLElementTagNameMap {
'poe-divination-card': DivinationCardElement;
}
}
//# sourceMappingURL=poe-divination-card.d.ts.map