Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entity ¶
type Entity interface {
ObjectId() ObjectId
}
An Entity provides a unique identifier of an object that may be retrieved from the DOM. It is part of a solution to ensure the same JS object is returned for the same DOM element.
Warning: This solution is temporary, and a different solution is intended to be used. Do not rely on this value.
type ObjectId ¶
type ObjectId = int32
An ObjectId uniquely identifies an element in the DOM. It is meant for internal use only, and shouldn't be used by users of the library.
The value is a 32bit integer so it can accurately be represented by a JavaScript number.
func NewObjectId ¶
func NewObjectId() ObjectId
Click to show internal directories.
Click to hide internal directories.