- #6 Fix
emunits regression - Improve handling of custom components
- Allow styling to be applied directly to custom component
- Support drawing of css border and background around/behind the custom component
- Rework the layout of the example (
main.cpp) - Refactor naming conventions
Example
Custom Components
<!-- before: Had to wrap with div -->
<div style="border: 1px solid green; height: 100px; width: 100px; padding: 15px; flex-shrink: 0"
<custom-button
text="Click me"
tooltip="Tooltip"
></custom-button>
</div>
<!-- after: Style works directly on the component -->
<custom-button
style="border: 1px solid green; height: 100px; width: 100px; padding: 15px; flex-shrink: 0"
text="Click me"
tooltip="Tooltip"
></custom-button>