Safari Developer Library

Developer

SafariExtensionPopover Class Reference

Options
Deployment Target:

On This Page

SafariExtensionPopover

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.

  • identifier Property

    The unique identifier for the popover.

    Declaration

    readonly attribute DOMString identifier

  • visible Property

    A Boolean value that indicates whether the popover is visible.

    Declaration

    readonly attribute boolean visible

  • Hides the popover.

    Declaration

    void hide ();

  • The DOM window object of the popover.

    Declaration

    readonly attribute DOMWindow contentWindow

  • height Property

    The height, in pixels, of the popover.

    Declaration

    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.

  • width Property

    The width, in pixels, of the popover.

    Declaration

    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.