3.0 beta 2

AX.Classes

CSS classes collection.

var obj = new AX.HTML({
    color: 'red',
    state: 'disabled',
    classes: 'ax-{{@color}} ax-{{@state}}'
});

Add classes

obj.classes().add('my-class');

Remove classes

obj.classes().remove('my-class');

Included into attributes collection.