defineWidget, defineWidgetPackage, and startWidgetPackage references for exact fields, types, and return values.
Define one widget
Define a package
Widget types
A screen places a widget by its type. A package widget’s type starts withcompany. or droplet., continues with the package’s identity, and ends with the widget’s name. That keeps it apart from built-in types like TextWidget, which a package can never replace.
The portal loads a package only if none of its widget types is already registered. If one is, because two packages share an identity, the portal skips the whole package. It logs a warning in the browser console and shows nothing on the page. Keep each package’s identity unique, and each widget name unique within its package.
A screen node whose type no loaded package provides renders nothing. Check that the package is published and available to the portal. See Droplet package visibility.