HammerLoader
加载 HammerJS 的函数,返回一个在 HammerJs 加载后解析的 Promise。
Function that loads HammerJS, returning a promise that is resolved once HammerJs is loaded.
type HammerLoader = () => Promise<void>;
加载 HammerJS 的函数,返回一个在 HammerJs 加载后解析的 Promise。
Function that loads HammerJS, returning a promise that is resolved once HammerJs is loaded.
type HammerLoader = () => Promise<void>;