UNPKG

estaminet

Version:

A set of WebComponents building on top of Statemint family of Polkadot parachains

18 lines (17 loc) 609 B
import { ApiPromise } from "@polkadot/api"; export declare abstract class BaseProviderElement extends HTMLElement { private static readonly providerAttribute; protected api?: ApiPromise; constructor(); /** * The eventual provider encapsulated by this `BaseProviderElement` */ get provider(): string | null; /** * Sets the provider attribute */ set provider(provider: string | null); static get observedAttributes(): string[]; fireApiChangedEvent(api?: ApiPromise): void; attributeChangedCallback(name: string, oldValue: any, newValue: any): void; }