Interface SnapSourceOptions

Per-source snapping overrides inside SnappingConfig.sources.

interface SnapSourceOptions {
    enabled?: boolean;
    kinds?: readonly SnapCandidateKind[];
}

Properties

Properties

enabled?: boolean

Disable the source entirely.

true
kinds?: readonly SnapCandidateKind[]

Candidate kinds for this source; overrides SnappingConfig.kinds.