Package-level declarations

Properties

Link copied to clipboard

Browser instance of this frame.

Link copied to clipboard

The list of child frames or an empty list if this frame does not have any children.

Link copied to clipboard

The document object model (DOM) of this frame, if any.

Link copied to clipboard

Content of the frame in the HTML format, or an empty string if the frame doesn't have a content or its content is empty.

Link copied to clipboard

The Json instance for this frame.

Link copied to clipboard

The number of key/value pairs in the storage.

Link copied to clipboard

The localStorage instance of this frame.

Link copied to clipboard

The name of the frame, or an empty string if the frame doesn't have a name.

Link copied to clipboard

The parent Frame instance or null if the current frame is a main (top-level) frame, and it does not have a parent.

Link copied to clipboard

The sessionStorage instance of this frame.

Functions

Link copied to clipboard
operator fun WebStorage.get(key: String): String?
operator fun WebStorage.get(key: String): String?

Returns the value associated with the given key if it exists in the storage.

Link copied to clipboard
operator fun WebStorage.set(key: String, value: String)
operator fun WebStorage.set(key: String, value: String)

Adds the item with the specified key and value to the storage, or updates it if the item with the given key already exists.