Constructors
constructor
- new Swipe(rootElement: HTMLElement): Swipe
Methods
off
- off(eventName: string, callback: Function): void
-
Parameters
-
eventName: string
-
callback: Function
Returns void
on
- on(eventName: string, callback: Function): void
-
Parameters
-
eventName: string
-
callback: Function
Returns void