Dialog open property
Definitions and usages
The open property is used to set or return whether the conversation window is open.
This property reflects the .lt;dialog> open property.
If this property is specified and the conversation window is available, the user can interact with it.
Note: The element is new to HTML5.
Browser support
Note: Currently only Chrome Canary, Safari 6 supports the open property.
Note: Even if Chrome Canary supports the element, you must open the chrome://flags in the Chrome address bar and turn on the Enable The World Web Platform features tag. After you turn it on, you'll need to restart Chrome.
Grammar
Returns the open property:
Set the open property:
The property value
Value | Describe |
---|---|
true|false |
Specify whether the conversation window is open or not
|
Technical details
Return value: | Boolean value, if the conversation window is open to return TRUE, otherwise return FALSE. |
---|
More instances
To see if the conversation window opens:
Try it out . . .
Related articles
HTML Reference Manual: HTML slt;dialog> open property