Hi Danielo > How can I can create variables that could be accessed within my tiddler?
To set a variable to a string within a widget use this: this.setVariable(name,value); The variable value will then be accessible to child widgets. The third parameter "params" provides information on the macro parameters (remember that a macro is just a variable that takes parameters that are substituted before it's value is retrieved). > What is the create function for? I'm not sure what you mean. Which create function? Best wishes Jeremy. On Thu, Apr 17, 2014 at 12:36 PM, BJ <[email protected]> wrote: > try looking at the transclude widget, it shows have to access variables > from inside a widget - see "transclusion" variable. > > BJ > > > On Wednesday, April 16, 2014 4:52:59 PM UTC+1, Danielo Rodríguez wrote: >> >> I'm stucked because this question. Could someone help me? > > -- > 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/d/optout. > -- 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/d/optout.
