panelRegistry

panelRegistry #

@furo/furo-route v2.6.13
import '@furo/route/src/lib/panelRegistry.js';
exports panelRegistry js


Registry for the components which can handle a type in a specific context.

This class is used by the furo-panel-coordinator to find the component which suites best for the given data type.

The registry can be autogenerated from @furo/ui-builder

// -- register panels

panelRegistry.registerType("auth.AuthEntity", {
   "edit" : "auth-auth-update-panel"
});

Attributes and Properties #

Methods #

registerType #

registerType(type *panel* ) ⟹ void

  • type
  • panel

getPanelName #

getPanelName(type *suffix* ) ⟹ void

  • type
  • suffix