You can't force a re-rendering during the execution of the widget
constructor; the constructor execution is itself a step in the initial
rendering process.

Widgets get refreshed in response to tiddler store change events, which in
turn can trigger widget attribute changes. It's up to the widget refresh
function to decide whether to actually refresh the widget based on which
tiddlers or attributes have changed.

Can you talk me through the issue in more detail?

Many thanks,

Jeremy



On Sat, Sep 21, 2013 at 8:57 PM, David Johnston <[email protected]>wrote:

> Hello All,
>
> I am working on a new widget with an HMTL slider in.
>
> During the initial stage of the Widget rendering process: -
>
> var NewWidget = function(renderer) {
> // Save state
> this.renderer = renderer;
>  // Generate widget elements
> this.generate();
> };
>
> Is there any way to force a re-rendering of the widget?
>
> Thanks
>
> David
>
>
>
>  --
> 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.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to