Skip to content

Commit d715b42

Browse files
committed
DocBlock added for the 'container' option
1 parent febbd88 commit d715b42

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/web/mage/sticky.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ define([
1111

1212
$.widget('mage.sticky', {
1313
options: {
14+
/**
15+
* Element selector, who's height that will be used to restrict the
16+
* maximum offsetTop position of the stuck element.
17+
* Default uses document body.
18+
* @type {String}
19+
*/
1420
container: '',
1521

1622
/**

0 commit comments

Comments
 (0)