API list

June 23, 2026 ยท View on GitHub

API

Warning: oculr-ngx is scheduled to be archived on October 1, 2026. No new features, dependency updates, or support are planned after that date. Existing and prospective consumers should review the archival notice before adopting or upgrading this package.

API list

Initialization and configuration

Setting up the Oculr library can be done in a few simple steps.

Directives

Oculr has a set of directives that help capture various display or interaction events.

oculrChangeA directive that captures input, select, and textarea changes.
oculrClickA directive that captures button and anchor clicks.
oculrDisplayA directive that captures when a host element is rendered.
oculrFocusA directive that captures when a host element gains focus.
oculrTrackValidationA directive that captures validation errors on a Reactive form control.

Page Views

Oculr allows you to easily track the path a user navigates through while using your app.

Interceptors

Oculr comes with an HTTP interceptor ready to go out of the box.

Services

Oculr has a set of services that simplify library initionalization and capturing targeted analytic events.

EventDispatchServiceA service that allows client apps to target analytic events.

Interfaces

Oculr has a set of interfaces that ensure the shape of the objects being passed around are consistent.

DirectiveEventAn event interface used by directives.
AppEventAn interface used for tracking general application events
AppErrorEventAn interface used for tracking application errors

Feedback

Is something not working or unclear? Please create an issue or PR.