Mixins in Ember FW
Mixins are a way to define certain properties to other classes. For more informations on Mixins, see Ember API docs Most of our mixins defined in this addon are used within the app to have similar features in multiple different components, but these mixins can be used and extended within the FW Apps as well if the need arises. The only mixin, which will likely be used externally to Ember FW is the Rollback Mixin, which is designed to help you quickly rollback dirty models upon cancel. This is probably the only mixin that you will need to know about. There are four other mixins which are either used internally in Ember FW to help make components function or described in larger concepts above. But if you do need to have access to those mixins, they are: the Popover Mixin (for FwPopoverButton
, FwPopoverIcon
, and consequently FwInfoIcon
), the Tooltip Mixin (for the FwTooltipButton
, and FwTooltipIcon
), the Validated-Input Mixin and the Validation Mixin (which are both described in the Validations Larger Concept above).