Skip to main content

touchstone.mixin

Home > @pebula/touchstone > Mixin

Mixin namespace

Signature:

export namespace Mixin 

Functions

Function

Description

Constructor(target, key, descriptor)

A Decorator that marks a class instance method as a mixin constructor. The method will get invoked, with the context of the final target, when the final target is constructed and in the order the mixins are defined. The method will get the same parameters provided by the constructor.

Variables

Variable

Description

classHasMixin

hasMixin

isMixinTarget

MixinScope

Type Aliases

Type Alias

Description

classHasMixin

hasMixin

isMixinTarget

MixedClassStatic

MixinScope