ParaShape

Components

Entries of the document's components lane.

2 methods: createComponent, loadComponent.

createComponent - Component

A component written inline — evaluates to exactly this document.

role step, type component, valid on components, returns component, default key component.

ArgTypeDefaultMinMaxOptionsDescription
dataobject{"title":"Component","objects":[]}The component document itself: a whole Model JSON.

loadComponent - Load Component

A component the host fetches by id, only when a placement pulls it.

role step, type component, valid on components, returns component, default key component.

ArgTypeDefaultMinMaxOptionsDescription
urlurlAbsolute https URL of a model document; the host fetches it.

Edit on GitHub