Hello Mario,

 Thank you for your reply!
I was playing with JavaScript and was curious to see how can I add JS code 
to Tiddlywiki.
I understood JS code are not allowed to directly interact with the DOM 
objects!

I appreciate if you introduce me some simple cases (tutorial) for learning 
how JS code can be included in TW.


/Mohammad



On Thursday, July 5, 2018 at 1:47:57 PM UTC+4:30, PMario wrote:
>
> Hi Mohammad, 
>
> In short: No. 
>
> I think it would be easier, if you describe, what you want to achive. So 
> we may have a solution, or could provide help. 
>
>
> more details: 
>
> Your code directly manipulates the "redered output" in the DOM and also 
> keeps program state in the DOM. This is similar to what jQuery did some 
> years ago. That's not the concept used by TW. 
>
> TiddlyWiki is built with a completely different concept in mind. Every 
> time the tiddler store is changed, the output (DOM) is automatically 
> rewritten by the core, if needed. So your program can and will be destroied 
> at any time. 
>
> TiddlyWiki uses widgets to create and manipulate the rendered output. 
>
> have fun!
> mario
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" 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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/985e4920-7c19-4a91-a914-34fcb68e1f55%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to