Skip to content

Added options examples #55

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Changed hide/show and format update
Changed show to hide in dialog and format update.
  • Loading branch information
shahraship committed Oct 16, 2012
commit 85de68a615da677fcab7969f7c7f245bae5fd8c5
2 changes: 1 addition & 1 deletion entries/dialog.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<desc>The only supported string value is <code>"auto"</code> which will allow the dialog height to adjust based on its content.</desc>
</type>
</option>
<option name="show" default="null">
<option name="hide" default="null">
<desc>If and how to animate the hiding of the dialog.</desc>
<type name="Number">
<desc>
Expand Down
2 changes: 1 addition & 1 deletion entries/position.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<signature>
<argument name="options" type="Object">
<property name="my" default='"center"'>
<desc>Defines which position <strong>on the element being positioned</strong> to align with the target element: "horizontal vertical" alignment. A single value such as <code>"right"</code> will be normalized to <code>"right center"</code>, <code>"top"</code> will be normalized to <code>"center top"</code> (following CSS convention). Acceptable horizontal values: <code>"left"</code>, <code>"center"</code>, <code>"right"</code>. Acceptable vertical values: <code>"top"</code>, <code>"center"</code>, <code>"bottom"</code>. Example: <code>"left top"</code> or <code>"center center"</code>. Each dimension can also contain offsets, in pixels or percent, e.g., <code>"right+10 top-25%"</code>. Perecentage offsets are relative to the element being positioned.</desc>
<desc>Defines which position <strong>on the element being positioned</strong> to align with the target element: "horizontal vertical" alignment. A single value such as <code>"right"</code> will be normalized to <code>"right center"</code>, <code>"top"</code> will be normalized to <code>"center top"</code> (following CSS convention). Acceptable horizontal values: <code>"left"</code>, <code>"center"</code>, <code>"right"</code>. Acceptable vertical values: <code>"top"</code>, <code>"center"</code>, <code>"bottom"</code>. Example: <code>"left top"</code> or <code>"center center"</code>. Each dimension can also contain offsets, in pixels or percent, e.g., <code>"right+10 top-25%"</code>. Percentage offsets are relative to the element being positioned.</desc>
<type name="String"/>
</property>
<property name="at" default='"center"'>
Expand Down