@expofp/floorplan
Version:
Interactive floor plan library for expos and events
11 lines • 527 B
TypeScript
/**
* Whether now falls within an event's dates. Date-only strings (`YYYY-MM-DD`)
* cover whole days. Read in the viewer's local time.
*/
export declare function isEventNow(startDate?: string, endDate?: string): boolean;
/**
* Milliseconds until {@link isEventNow} flips for these dates, or `null` when it
* never will again (no dates, unparseable dates, or the event is over).
*/
export declare function msUntilEventNowChanges(startDate?: string, endDate?: string): number | null;
//# sourceMappingURL=event-now.d.ts.map