mixin
Noun
Meaning
mixin (plural mixins)
English Wikipedia has an article on:mixinWikipedia
(object-oriented programming) An uninstantiable class that provides functionality to be inherited by a subclass.
Traits are somewhat between an interface and a mixin, as an interface contains only method signatures, while a trait includes also the full method definitions; on the other side mixins include method definitions, but they can also carry state through attributes, while traits usually don't.
Synonyms
Anagrams
Examples
In Zope 2 there had been many behavior requirements to allow objects to participate in the framework, which resulted in a large amount of mixin base classes and special attributes.
And so here we've used something in the mixin that is not dependent on the variable being passed in.
Also, using this as a mixin when using LESS or SCSS is a breeze.
As before, the definition of the mixin is indented below the mixin declaration.
Component classes using this mixin should call this method during their own initialization.
Lockable is a private mixin which injects lockable behavior into any TablePanel subclass such as GridPanel or TreePanel.