Ticket #742 (closed enhancement: duplicate)
add "#animate:true/false" paramifier
| Reported by: | EricShulman | Owned by: | JeremyRuston |
|---|---|---|---|
| Priority: | trivial | Milestone: | |
| Component: | core | Version: | |
| Severity: | trivial | Keywords: | |
| Cc: |
Description (last modified by EricShulman) (diff)
Occasionally, when using some low-end browser/hardware combinations, TiddlyWiki documents can "bog down" and become almost unusable due to poor responsiveness.
Fortunately, disabling animation effects (via <<option chkAnimate>>) often makes a big difference in performance. Unfortunately, clearing this checkbox can be nearly impossible if the document in question is already bogged down due to animations.
Adding an "#animate:true/false" paramifier would avoid this problem by allowing the user to set/clear the 'chkAnimate' flag on-the-fly while the URL is being initially loaded into the browser.
config.paramifiers.animate= {
onstart: function(v) {
config.options.chkAnimate=eval(v);
}
};
Note: this addition has been succesfully implemented on TiddlyTools. See http://www.TiddlyTools.com/#CoreTweaks
