Packagedom.objects
Classpublic class BarProp
InheritanceBarProp Inheritance Object

Introduced in: HTML 5 

To allow Web pages to integrate with Web browsers, certain Web browser interface elements are exposed in a limited way to scripts in Web pages.

See also

W3C HTML 5: BarProp


Public Properties
 PropertyDefined By
  HTML 5 visible : Boolean
The visible attribute, on getting, must return either true or a value determined by the user agent to most accurately represent the visibility state of the user interface element that the object represents, as described below.
BarProp
Property Detail
HTML 5 visibleproperty
visible:Boolean

Introduced in: HTML 5 

The visible attribute, on getting, must return either true or a value determined by the user agent to most accurately represent the visibility state of the user interface element that the object represents, as described below. On setting, the new value must be discarded.

The following BarProp objects exist for each Document object in a browsing context. Some of the user interface elements represented by these objects might have no equivalent in some user agents; for those user agents, unless otherwise specified, the object must act as if it was present and visible (i.e. its visible attribute must return true).

TitleValue
window.locationbarRepresents the user interface element that contains a control that displays the URL of the active document, or some similar interface concept.
window.menubarRepresents the user interface element that contains a list of commands in menu form, or some similar interface concept.
window.personalbarRepresents the user interface element that contains links to the user's favorite pages, or some similar interface concept.
window.scrollbarsRepresents the user interface element that contains links to the user's favorite pages, or some similar interface concept.
window.statusbarRepresents a user interface element found immediately below or after the document, as appropriate for the default view's media. If the user agent has no such user interface element, then the object may act as if the corresponding user interface element was absent (i.e. its visible attribute may return false).
window.toolbarRepresents the user interface element found immediately above or before the document, as appropriate for the default view's media. If the user agent has no such user interface element, then the object may act as if the corresponding user interface element was absent (i.e. its visible attribute may return false).


Implementation
    public function get visible():Boolean
    public function set visible(value:Boolean):void

See also