3.0 beta 2

AX.Content

An extra span tag aroung the html content.

Referenced by layers collection.

Includes component html property into innerHTML.

Show/hide content

Assign true/false to the content property.

var obj = new AX.Component({
    content: true
});

Properties

flow

Content flow direction (horizontal or vertical).

var obj = new AX.Component({
    content: {
        flow: 'horizontal',
        wrap: true
    }
});

It is possible to assign 'horizontal' or 'vertical' keywords directly to the content property.

var obj = new AX.Component({
    content: 'vertical'
});

wrap

Controls whitespace handling in the component html (true/false).

var obj = new AX.Component({
    content: {
        flow: 'horizontal',
        wrap: true
    }
});

Can assign 'wrap' or 'nowrap' keywords directly to the content property.

var obj = new AX.Component({
    content: 'wrap'
});