SnapEventInit Class
https://drafts.csswg.org/css-scroll-snap-2/#dictdef-snapeventinit
public sealed class SnapEventInit : EventInit- Inheritance
EventInitSnapEventInit
Constructors
| Name | Description |
|---|---|
| SnapEventInit() |
SnapEventInit()
public SnapEventInit()No documentation is available.
Properties
| Name | Description |
|---|---|
| SnapTargetBlock | Gets the snap target in the block axis. |
| SnapTargetInline | Gets the snap target in the inline axis. |
SnapTargetBlock
SnapEvent.csGets the snap target in the block axis.
public Node? SnapTargetBlock { get; init; }Property value
See also
SnapTargetInline
SnapEvent.csGets the snap target in the inline axis.
public Node? SnapTargetInline { get; init; }