control-freak-ide/Control-Freak-Documentation/jQuery/docs/entries/jQuery.fx.interval.json
plastic-hub-dev-node-saturn 538369cff7 latest
2021-05-12 18:35:18 +02:00

1 line
1.2 KiB
JSON

{"name":"jQuery.fx.interval","type":"property","title":"jQuery.fx.interval","deprecated":null,"removed":null,"desc":"The rate (in milliseconds) at which animations fire.","categories":["effects/custom-effects","properties/global-jquery-object-properties","version/1.4.3"],"entries":[{"return":"Number","signatures":{"added":"1.4.3"},"examples":{"desc":"Cause all animations to run with less frames.","code":"\njQuery.fx.interval = 100;\n$( \"input\" ).click(function() {\n $( \"div\" ).toggle( 3000 );\n});\n","css":"\n div {\n width: 50px;\n height: 30px;\n margin: 5px;\n float: left;\n background: green;\n }\n","html":"\n<p><input type=\"button\" value=\"Run\"></p>\n<div></div>\n"},"longdesc":"\n <p>This property can be manipulated to adjust the number of frames per second at which animations will run. The default is 13 milliseconds. Making this a lower number could make the animations run smoother in faster browsers (such as Chrome) but there may be performance and CPU implications of doing so.</p>\n <p>Since jQuery uses one global interval, no animation should be running or all animations should stop for the change of this property to take effect.</p>\n "}]}