mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
Update ScrollSpyOptions definition (#11936)
Latest options as in http://materializecss.com/scrollspy.html
This commit is contained in:
committed by
Masahiro Wakame
parent
7de2734e38
commit
072d9db2ee
30
materialize-css/materialize-css.d.ts
vendored
30
materialize-css/materialize-css.d.ts
vendored
@@ -208,37 +208,11 @@ declare namespace Materialize {
|
||||
* The scroll spy options
|
||||
*/
|
||||
interface ScrollSpyOptions {
|
||||
|
||||
/**
|
||||
* Throttling in miliseconds.
|
||||
* Default: 100
|
||||
*/
|
||||
throttle?: number;
|
||||
|
||||
/**
|
||||
* Offset from top.
|
||||
* Default: 0
|
||||
* Default: 200
|
||||
*/
|
||||
offsetTop?: number;
|
||||
|
||||
/**
|
||||
* Offset from right.
|
||||
* Default: 0
|
||||
*/
|
||||
offsetRight?: number;
|
||||
|
||||
/**
|
||||
* Offset from bottom.
|
||||
* Default: 0
|
||||
*/
|
||||
offsetBottom?: number;
|
||||
|
||||
/**
|
||||
* Offset from left.
|
||||
* Default: 0
|
||||
*/
|
||||
offsetLeft?: number;
|
||||
|
||||
scrollOffset?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user