Quartz Headless docs/Core API reference

Search documentation

Type to search the documentation.

API: Core

Core API reference

81 public symbols generated from the TypeScript declarations of the library.

81 public symbols generated from the TypeScript declarations of the library.

Directives

Name Summary
DraggableDirective Wraps native HTML5 Drag and Drop (dragstart/dragend/dragenter/dragleave/dragover/ drop).
DropZoneDirective
OverlayTriggerDirective Mark a <ng-template inside your component as the overlay content.
SplitterContainerDirective
SplitterHandleDirective
SplitterPanelDirective
ViewportMatchDirective Structural/behavioral directive that exposes viewport breakpoint signals and applies CSS classes based on the default breakpoints.
VirtualScrollDirective Virtual scroll directive that calculates which items should be rendered based on the viewport size and scroll position.

Services

Name Summary
DirectionalityService Root-level reactive source of truth for the document's text direction.
DragDropService
OverlayService
SplitterService
ViewportService Root-level service that tracks viewport dimensions and media-query matches using reactive signals.

Functions

Name Summary
calculatePosition
compareDomOrder
createDismissController
createFocusRestorer Captures the currently focused element and returns a restorer for it.
createFocusTrap
createScrollLock
findByTypeahead
findRelativeItem Next/previous enabled item relative to activeId.
firstItem
focusInitialElement
focusSafely
getElement
getFocusableElements
getLabel
getScrollParents
inlineEndKey The arrow key that moves toward inline-end (the reading direction's end) for direction.
inlineStartKey The arrow key that moves toward inline-start (the reading direction's beginning) for direction.
inlineToPhysical Converts a logical inline position to the physical side it renders on for direction.
isDisabled
isFocusable Whether element can receive programmatic focus (element.focus()) right now.
lastItem
oppositeDirection The other direction.
physicalToInline Converts a physical side back to the logical inline position it represents for direction.
resolveDirection Resolves the effective direction for an element by walking up to the nearest ancestor (including itself) that carries a dir attribute — the same resolution <ht…
resolveInlineArrowKey Classifies a keyboard event's key as an inline-start/inline-end move for direction, or null when it's not a horizontal arrow key at all.
sortByDomOrder

Classes

Name Summary
CollectionStore
OverlayRef

Interfaces

Name Summary
CollectionConfig
CollectionItem
CollectionNavigationResult
DismissConfig
DismissController
DragDropConfig
DropZoneConfig
FocusRestorer
FocusTrap
OverlayConfig
OverlayPosition
OverlayVirtualAnchor
QzDragEndInfo
QzDragInfo
QzDragOverInfo
QzDropInfo
ScrollLock
SplitterConfig
SplitterState
ViewportBreakpoints Map of breakpoint names to pixel widths.
ViewportMatchResult Result of matching all predefined breakpoints.
VirtualScrollConfig Configuration object for virtual scroll.
VirtualScrollRow Represents a single visible row in the virtual viewport.

Types

Name Summary
CollectionFocusStrategy
CollectionOrientation
Direction Text/layout direction.
DismissReason
InlineArrowKey The two arrow keys that move along the horizontal/inline axis.
LogicalInlineDirection A logical position along the inline (reading) axis.
OverlayAnchor
OverlayFlipAxis
OverlayPlacement
PhysicalHorizontal A physical horizontal side.
SplitterOrientation
ViewportBreakpoint Predefined breakpoint names used by the ViewportService.

Constants

Name Summary
DEFAULT_BREAKPOINTS Default breakpoints following Tailwind conventions.
DEFAULT_COLLECTION_CONFIG
DEFAULT_OVERLAY_CONFIG
DEFAULT_SPLITTER_CONFIG
FOCUSABLE_SELECTOR