@better-scroll/core
Version:
Minimalistic core scrolling for BetterScroll, it is pure and tiny
9 lines (8 loc) • 327 B
TypeScript
import { EventEmitter } from '@better-scroll/shared-utils';
interface BubblingEventMap {
source: string;
target: string;
}
declare type BubblingEventConfig = BubblingEventMap | string;
export declare function bubbling(source: EventEmitter, target: EventEmitter, events: BubblingEventConfig[]): void;
export {};