Merge pull request #6194 from styfle/patch-10

Added `target` property to ScrollSpyOptions
This commit is contained in:
Masahiro Wakame
2015-10-12 23:48:13 +09:00
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -17,6 +17,7 @@ $('#myModal').modal('toggle');
$('.dropdown-toggle').dropdown();
$('#navbar').scrollspy();
$('body').scrollspy({ target: '#navbar-example' });
$('#element').tooltip('show');
@@ -42,4 +43,4 @@ $('.typeahead').typeahead({
highlighter: item => ""
});
$('#navbar').affix();
$('#navbar').affix();
+1
View File
@@ -22,6 +22,7 @@ interface ModalOptionsBackdropString {
interface ScrollSpyOptions {
offset?: number;
target?: string;
}
interface TooltipOptions {