From 2317840ce64653114797800f029af418ced7ba41 Mon Sep 17 00:00:00 2001 From: Tobias Beer Date: Tue, 16 Dec 2014 15:36:20 +0100 Subject: [PATCH] updated documentation for link-button --- editions/tw5.com/tiddlers/widgets/ButtonWidget.tid | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/editions/tw5.com/tiddlers/widgets/ButtonWidget.tid b/editions/tw5.com/tiddlers/widgets/ButtonWidget.tid index 769117eb2..0c8fb20bd 100644 --- a/editions/tw5.com/tiddlers/widgets/ButtonWidget.tid +++ b/editions/tw5.com/tiddlers/widgets/ButtonWidget.tid @@ -31,7 +31,9 @@ The content of the `<$button>` widget is displayed within the button. |popup |Title of a state tiddler for a popup that is toggled when the button is clicked | |aria-label |Optional [[Accessibility]] label | |tooltip |Optional tooltip | -|class |An optional CSS class name to be assigned to the HTML element
`tc-btn-invisble tc-tiddlylink` will give it the look of an internal link| +|class |An optional CSS class name to be assigned to the HTML element| |style |An optional CSS style attribute to be assigned to the HTML element | |selectedClass |An optional additional CSS class to be assigned if the popup is triggered or the tiddler specified in `set` already has the value specified in `setTo` | -|default |Default value if `set` tiddler is missing for testing against `setTo` to determine `selectedClass` | \ No newline at end of file +|default |Default value if `set` tiddler is missing for testing against `setTo` to determine `selectedClass` | + +''Tip:'' Set ''class'' to `tc-btn-invisble tc-tiddlylink` to have a button look like an internal link. \ No newline at end of file