This page is Almost Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

getBookmark

Summary

Retrieves a bookmark (opaque string) that can be used with moveToBookmark to return to the same range.

Method of dom/TextRangedom/TextRange

Syntax

var bookmark = textRange.getBookmark();

Return Value

Returns an object of type StringString

Returns the bookmark if successfully retrieved, or null otherwise.

Notes

Remarks

.

Syntax

Standards information

There are no standards that apply here.

Attributions