Ticket #742 (closed enhancement: duplicate)

Opened 19 months ago

Last modified 16 months ago

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

Change History

Changed 19 months ago by EricShulman

  • description modified (diff)

Changed 16 months ago by EricShulman

  • status changed from new to closed
  • resolution set to duplicate

see  http://trac.tiddlywiki.org/ticket/823 for a more generalized "option paramifiers" solution that would enable use of "#chkAnimate:true/false" to achieve the same result.

Note: See TracTickets for help on using tickets.