[TW5] [Plugin] Attributes: Add attributes to button widget via data-tiddler or JSON tiddler

42 views
Skip to first unread message

Riz

unread,
Feb 17, 2018, 1:07:55 PM2/17/18
to TiddlyWiki


Here is the Link


Description:

It adds an attribute to the button widget - called "attributes" that will point to a data-dictionary tiddler or JSON tiddler holding the attributes of the button that will be copied to the HTML as is.

Okey, I am sure that description sounds a little confusing, but I believe it could be useful to atleast some of you. It makes it possible to add the usual javascript alerts, hitherto unsupported attributes like disabled buttons, tabindex etc.

Let me know what you feel

Sincerely
Riz

TonyM

unread,
Feb 17, 2018, 2:35:06 PM2/17/18
to TiddlyWiki
Riz,

I like this. Perhaps it would work nicely for mymenus menu items.

I will review further on my return to my desk in a few weeks.

Tony

Reply all
Reply to author
Forward
0 new messages