UNPKG

siesta-lite

Version:

Stress-free JavaScript unit testing and functional testing tool, works in NodeJS and browsers

1 lines 2.74 kB
Ext.data.JsonP.Siesta_Recorder_Role_CanRecordScroll({"tagname":"class","name":"Siesta.Recorder.Role.CanRecordScroll","autodetected":{},"files":[{"filename":"CanRecordScroll.js","href":"CanRecordScroll.html#Siesta-Recorder-Role-CanRecordScroll"}],"members":[{"name":"recordScroll","tagname":"cfg","owner":"Siesta.Recorder.Role.CanRecordScroll","id":"cfg-recordScroll","meta":{}}],"alternateClassNames":[],"aliases":{},"id":"class-Siesta.Recorder.Role.CanRecordScroll","component":false,"superclasses":[],"subclasses":[],"mixedInto":["Siesta.Recorder.Recorder"],"mixins":[],"parentMixins":[],"requires":[],"uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Mixed into</h4><div class='dependency'><a href='#!/api/Siesta.Recorder.Recorder' rel='Siesta.Recorder.Recorder' class='docClass'>Siesta.Recorder.Recorder</a></div><h4>Files</h4><div class='dependency'><a href='source/CanRecordScroll.html#Siesta-Recorder-Role-CanRecordScroll' target='_blank'>CanRecordScroll.js</a></div></pre><div class='doc-contents'><p>A mixin, providing the feature of recording the \"scroll\" event.</p>\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-cfg'>Config options</h3><div class='subsection'><div id='cfg-recordScroll' class='member first-child not-inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><span class='defined-in' rel='Siesta.Recorder.Role.CanRecordScroll'>Siesta.Recorder.Role.CanRecordScroll</span><br/><a href='source/CanRecordScroll.html#Siesta-Recorder-Role-CanRecordScroll-cfg-recordScroll' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Siesta.Recorder.Role.CanRecordScroll-cfg-recordScroll' class='name expandable'>recordScroll</a> : Boolean<span class=\"signature\"></span></div><div class='description'><div class='short'>Set this option to true to enable recording of scroll events. ...</div><div class='long'><p>Set this option to <code>true</code> to enable recording of <code>scroll</code> events.\nThis even occurs, when some element on the page, or the page itself, is scrolled by user.\nSeveral consequent <code>scroll</code> events on the same element will be merged into one <code>scrollTo</code> action.</p>\n\n<p>Note, that when replaying scripts, recorded with this option enabled, you might want to disable\nthe <a href=\"#!/api/Siesta.Project.Browser-cfg-autoScrollElementsIntoView\" rel=\"Siesta.Project.Browser-cfg-autoScrollElementsIntoView\" class=\"docClass\">autoScrollElementsIntoView</a> option,\nas it will be interfering with the recorded actions.</p>\n<p>Defaults to: <code>false</code></p></div></div></div></div></div></div></div>","meta":{}});