From 683903c1013bac2792ba00aedd2d661fd9d5d325 Mon Sep 17 00:00:00 2001 From: denis Date: Sat, 15 Dec 2018 11:07:32 +0100 Subject: [PATCH] Add JsDoc for scrollspy#method --- types/bootstrap/index.d.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/types/bootstrap/index.d.ts b/types/bootstrap/index.d.ts index 9744731237..0d06677e54 100755 --- a/types/bootstrap/index.d.ts +++ b/types/bootstrap/index.d.ts @@ -185,7 +185,10 @@ export interface PopoverOption extends TooltipOption { export interface ScrollspyOption { /** - * TODO: https://github.com/twbs/bootstrap/issues/25799 + * Finds which section the spied element is in: + * * `auto` will choose the best method get scroll coordinates. + * * `offset` will use jQuery offset method to get scroll coordinates. + * * `position` will use jQuery position method to get scroll coordinates. * * @default "auto" */