Skip to content

Commit 71e400e

Browse files
committed
Added support for overriding default value of show/hide options. Fixes jquery#186.
1 parent 38a01cf commit 71e400e

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

entries/tooltip.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0"?>
2-
<entry name="tooltip" type="widget" animated-element="tooltip" widget-element="original element">
2+
<entry name="tooltip" type="widget" animated-element="tooltip" widget-element="original element"
3+
option-hide-default="true" option-show-default="true">
34
<title>Tooltip Widget</title>
45
<desc>Customizable, themeable tooltips, replacing native tooltips.</desc>
56
<longdesc>

includes/widget-option-hide.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<option name="hide" default="null" example-value='{ effect: "explode", duration: 1000 }'>
2+
<option name="hide" default="{option-hide-default|null}" example-value='{ effect: "explode", duration: 1000 }'>
33
<desc>If and how to animate the hiding of the <placeholder name="animated-element"/>.</desc>
44
<type name="Boolean">
55
<desc>

includes/widget-option-show.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<option name="show" default="null" example-value='{ effect: "blind", duration: 800 }'>
2+
<option name="show" default="{option-show-default|null}" example-value='{ effect: "blind", duration: 800 }'>
33
<desc>If and how to animate the showing of the <placeholder name="animated-element"/>.</desc>
44
<type name="Boolean">
55
<desc>

0 commit comments

Comments
 (0)