[tw] add custom class to tm-modal div

2015-05-08 Thread Rustem
Is it possible to assign an additional class to the main modal window 
(div.tc-modal), either by passing it via action-sendmessage, or any other 
way?

Also, what can I pass in tm-modal's paramObject?

Thanks!

--R

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e7bcdc23-627e-4297-94a5-8b571435d6c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] add custom class to tm-modal div

2015-05-12 Thread Jeremy Ruston
Hi Rustem

Apologies for the late response.

Is it possible to assign an additional class to the main modal window
> (div.tc-modal), either by passing it via action-sendmessage, or any other
> way?
>

That's not possible at the moment but I agree would be useful.


Also, what can I pass in tm-modal's paramObject?
>

The values in the paramObject are made available as variables within the
modal. You can specify them as attributes of the action-sendmessage widget
that do not starting with "$". For example:

<$button>
<$action-sendmessage $message="tm-modal" $param="SampleWizard"
currentTiddler="MyTiddler"/>


In this case the tiddler "SampleWizard" will be displayed in the modal with
the variable "currentTiddler" set to "MyTiddler".

Best wishes

Jeremy


>
> Thanks!
>
> --R
>
> --
> 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 tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at http://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/e7bcdc23-627e-4297-94a5-8b571435d6c2%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAPKKYJZX_XTJ5LiSe%3D5JJXv7iuzKqGOezYdxhgeg61c3w6G_jg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.