Skip to content

API Reference / @gtkx/runtime / Mixin

Type Alias: Mixin

Mixin = (base) => AnyClass

Defined in: runtime/dist/mixin.d.ts:10

A factory that, given a base class, returns a subclass adding extra members to be merged onto a target prototype.

Parameters

base

AnyClass<MixinReceiver>

Returns

AnyClass

Released under the MPL-2.0 License.