Class GetAnchorElementCommandSettings
Returns the target anchor element of the given anchor query according to https://www.w3.org/TR/css-anchor-position-1/#target.
public sealed class GetAnchorElementCommandSettings : ICommand
- Inheritance
-
GetAnchorElementCommandSettings
- Implements
- Inherited Members
Properties
AnchorSpecifier
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.
[JsonPropertyName("anchorSpecifier")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? AnchorSpecifier { get; set; }
Property Value
CommandName
Gets the name of the command.
[JsonIgnore]
public string CommandName { get; }
Property Value
NodeId
Id of the positioned element from which to find the anchor.
[JsonPropertyName("nodeId")]
public long NodeId { get; set; }