s-offline
Version:
Offline and Online network detection 🗼
22 lines (21 loc) • 579 B
TypeScript
import { SvelteComponentTyped } from "svelte";
declare const __propDef: {
props: {
pingUrl?: string;
};
events: {
detectedCondition: CustomEvent<any>;
} & {
[evt: string]: CustomEvent<any>;
};
slots: {
online: {};
offline: {};
};
};
export type SOfflineProps = typeof __propDef.props;
export type SOfflineEvents = typeof __propDef.events;
export type SOfflineSlots = typeof __propDef.slots;
export default class SOffline extends SvelteComponentTyped<SOfflineProps, SOfflineEvents, SOfflineSlots> {
}
export {};