Hi everyone (possibly @Jeremy),
How can I force-refresh a child widget from its parent?
I have changed the content / children of my button widget via...
childButton.children = this.wiki.parseText(
"text/vnd.tiddlywiki",
newLabel,
{parseAsInline: true}
).tree;
...but then calling:
childButton.refresh();
wouldn't work since, the ButtonWidget refresh handler doesn't appear to
check for any changes to its content.
So, I tried to run:
childButton.refreshSelf();
...but that didn't work either.
Any ideas how I can force-refresh my childButton without having to refresh
my entire widget?
Best wishes,
Tobias.
--
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywikidev/d2e86207-ab3c-4809-b1d9-d10697269c17%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.