SafariExtensionPopover Class Reference

Inherits from
Technology area
Safari Extensions
Availability
Available in Safari 5.1 and later.

Overview

The SafariExtensionPopover class represents popovers. You use popovers to present information temporarily. The popover content is layered on top of the existing web content in a special type of window.

Tasks

Manipulating Popovers

Manipulating Popover Content

Properties

contentWindow

The DOM window object of the popover.

readonly attribute DOMWindow contentWindow
Availability

height

The height, in pixels, of the popover.

attribute unsigned int height
Discussion

If the value of this attribute is NaN or smaller than the popover’s frame, the minimum size is used instead.

Availability

identifier

The unique identifier for the popover.

readonly attribute DOMString identifier
Availability

visible

A Boolean value that indicates whether the popover is visible.

readonly attribute boolean visible
Availability

width

The width, in pixels, of the popover.

attribute unsigned int width
Discussion

If the value of this attribute is NaN or is smaller than the popover’s frame, the minimum size is used instead.

Availability

Methods

hide

Hides the popover.

void hide ();
Availability
  • Available in Safari 5.1 and later.