GetAnchorElementParameter

@Serializable
data class GetAnchorElementParameter(val nodeId: Int, val anchorSpecifier: String? = null)

Constructors

Link copied to clipboard
constructor(nodeId: Int, anchorSpecifier: String? = null)

Properties

Link copied to clipboard
val anchorSpecifier: String? = null

An optional anchor specifier, as defined in https://www.w3.org/TR/css-anchor-position-1/#anchor-specifier. If not provided, it will return the implicit anchor element for the given positioned element.

Link copied to clipboard
val nodeId: Int

Id of the positioned element from which to find the anchor.