@fmmp/ng

Form Minimap Angular

Usage no npm install needed!

<script type="module">
  import fmmpNg from 'https://cdn.skypack.dev/@fmmp/ng';
</script>

README

Form Minimap Angular

Angular module with components for Form Minimap. Please consult that documentation for further information on the concepts mentioned below. Please note that all boolean attributes are existenial (value ignored) rather than having a boolean value.


FmmNgModule

Module containing all the components.

Components
FmmNgMinimap
FmmNgPanel

FmmNgMinimap

Component to create and manage a FmmMinimap. The minimap is detached when this component is destroyed.

Attribute Type Required Description
aggregateLabels FmmMapString
anchor HTMLElement
customWidgetIds string[]
debounceMsec number
dynamicLabels string[]
formGroup FormGroup FormGroup that contains the form's controls.
framework FmmFramework
key string Minimap is recreated when key changes. Any previous minimap is detached.
namelessControls FmmNgNamelessControls (= Record<string, AbstractControl>) Additional FormControls, dentified by their form element's ID or NAME attribute, which may not be discoverable by traversing up the DOM tree and looking up formArrayName, formControlName, or formGroupName attribute on DOM elements.
page HTMLElement
panel FmmNgPanel
title string
usePanelDetail existential
useWidthToScale existential
verbosity number
widgetFactories FmmWidgetFactory[]
Event Parameter Description
update FmmMinimapSnapshot Dispatched when the minimap updates itself for whatever reason.
Method
destructor
takeSnapshot

FmmNgPanel

Component to create and manage a FmmPanel.

Attribute Type Required
detailParent HTMLDivElement
vertical existential
Method
destroyDetached