foundation-layout.foundationlayoutitem.registration
Home > @genesislcap/foundation-layout > FoundationLayoutItem > registration
FoundationLayoutItem.registration property
Sets the registration name for the item, which can be used later to add the item via the JavaScript API using FoundationLayout.addItem().
Signature:
registration: string;
Remarks
Items added via the JavaScript API and HTML API share the same pool of registration names. Using a duplicate registration name is a runtime error. This registration name defaults to the number of the window it is. It is highly recommended if you are using the JavaScript API that you set a registration name here manually.