orxapi.tools.toscroll
Version:
The TypeScript toScroll tools library for orxapi
20 lines (19 loc) • 419 B
TypeScript
/// <reference types="jquery" />
/**
* Scroll to target position properties
* @property target The jQuery object
* @property offset
* @property duration
*/
export interface IToScroll {
target: JQuery;
offset: number;
duration: number;
}
/***
* Scroll to target position with Url properties
* @property hash
*/
export interface IToScrollUrl extends IToScroll {
hash: string;
}