-
Notifications
You must be signed in to change notification settings - Fork 3
TopicComponent
andy.rothwell edited this page Oct 4, 2018
·
10 revisions
NOTE: this component type should be renamed now that we have made being included in a topic optional for any component. This is issue 5.
All components have the mixin "TopicComponent" which adds a set of props to each of them:
- slots
- options
- item
It also adds the function evaluateSlot() to each component in the library.
By mixing this into all components, all templates, functions, computeds, and other things in the components can fairly uniformly be written to use these props and the evaluateSlot() function.