DCL

An elegant OOP with mixins + AOP for JavaScript.

dcl.js

Version 2.x

dcl.js is a standard kernel of dcl. It implements OOP facilities, supercalls, AOP, chaining, and more utilities.

It is defined in dcl/dcl.js, but being the main module can be available directly from dcl.

Module API

The return value of this module is a function, which is called dcl() in this documentation.

  • dcl() - the main “class” composition engine

While it is important by itself, it hosts a number of public properties.

Main properties

Utilities

Auxiliary properties