Update ScrollSpyOptions definition (#11936)

Latest options as in http://materializecss.com/scrollspy.html
This commit is contained in:
Michael Bui
2016-10-19 20:05:18 +08:00
committed by Masahiro Wakame
parent 7de2734e38
commit 072d9db2ee

View File

@@ -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;
}
/**