Skip to content

Components

linusha edited this page Apr 14, 2023 · 6 revisions

glossary

style policy (policy)

holds information (the concrete data structure for this is also referred to as a spec) about how a component or single morph should be styled. Policies can also style the submorphs of a morph.

components

are morph hierarchies that can be written down in a declarative manner that can also specify which policies should be used to style the whole hierarchy or parts of it.

component descriptor

a data structure that keeps track of dependent components of a component, its style policies,...

part

an instance of a component, generated via the part method. actual morph one can touch. its properties are dictated by the component definition (structue) and their policies (style properties).

master

another name for the style policy currently applied to a morph.

inline policy

are the product of overwriting a property when instantiating a part.

scoped components

inline master

Clone this wiki locally