How can button CSS come into play when there is no button element?

<$button tag="div" actions=<<myactions>> >
<!-------content goes here-->
</$button>


or

<$button tag="pre" actions=<<myactions>> >
<!-------code goes here-->
</$button>


or

<$button tag=<<mytag>> actions=<<myactions>> >
<!-------content goes here-->
</$button>



On Friday, July 3, 2020 at 10:38:48 AM UTC+2, TW Tones wrote:
>
> Saq et al..
>
> I may be missing something, but the tag only permits one html tag, I need 
> both `<code>` and `<pre>` and anyway other button class settings come into 
> play like centre.
>
> I will keep exploring the options but if someone has a working example i 
> would be nice.
>
> Basically how to wrap "anything" in a button, to get the trigger but not 
> alter the appearance of the content of the button.
>
> Regards
> Tony
>
>
> On Friday, July 3, 2020 at 4:11:50 PM UTC+10, Saq Imtiaz wrote:
>>
>> ButtonWidget, not button.
>>
>> Use the tag attribute to create whichever element you need.
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7e4158b0-3b39-427f-a02e-7e0413d36e53o%40googlegroups.com.

Reply via email to