ReadonlyDisplayUser-facing label shown in the view-mode switcher (e.g. "Grid", "Tag Cloud").
ReadonlyIconFont Awesome icon class shown in the switcher (e.g. "fa-solid fa-table").
ReadonlyNameStable internal key for the view type — matches the DriverClass column on the
MJ: View Types entity and the @RegisterClass registration key
(e.g. "GridViewType", "CardsViewType").
ReadonlyPropOptional Angular component class for this view type's configuration prop-sheet (honors IViewPropSheet). Undefined when the view type has no configurable options.
ReadonlyRendererThe Angular component class that renders this view type. The host instantiates / mounts this component and feeds it data per the IViewRenderer contract.
ReadonlyUsesDefault: this view type uses its own opaque per-view-type config (stored in
DisplayState.viewTypeConfigs). Override to true in a view type that renders the
canonical grid columns (see IViewTypeDescriptor.UsesCanonicalGridState).
Default: nothing to preload. Override in subclasses whose availability predicate needs async data (e.g. the Cluster view type loading which entities have Entity Documents).
Optionalprovider: IMetadataProviderDefault availability: available for every entity. Override in subclasses that have requirements (e.g. Timeline needs a date field, Map needs geocoding).
Optional_provider: IMetadataProvider
ClusterViewType
The Cluster view-type plug-in descriptor. This is the proof that a feature package (ng-clustering) can contribute a brand-new entity-viewer view type by depending only on the host's contracts (
@memberjunction/ng-entity-viewer) — the host needs zero changes.mj-cluster-scatter).Registered with the ClassFactory under
'ClusterViewType', matching theDriverClassof the seededMJ: View Types"Cluster" row.