From 072d9db2ee9613ce96eecf11a3425a5eea12d8a5 Mon Sep 17 00:00:00 2001 From: Michael Bui Date: Wed, 19 Oct 2016 20:05:18 +0800 Subject: [PATCH] Update ScrollSpyOptions definition (#11936) Latest options as in http://materializecss.com/scrollspy.html --- materialize-css/materialize-css.d.ts | 30 ++-------------------------- 1 file changed, 2 insertions(+), 28 deletions(-) diff --git a/materialize-css/materialize-css.d.ts b/materialize-css/materialize-css.d.ts index b5b0f2c913..456abea871 100644 --- a/materialize-css/materialize-css.d.ts +++ b/materialize-css/materialize-css.d.ts @@ -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; } /**