new Separator()
Example
import {Separator} from "mvcomponents/separator";
import {Form} from "mvcomponents/container";
import {EVerticalAlign} from "mvcomponents/component";
let form:Form = new Form();
form.setSize(12);
let separador:Separator = new Separator();
separador.setColor('blue');
separador.setVerticalAlign(EVerticalAlign.TOP);
form.append(separador);
Methods
-
setColor(color)
-
Parameters:
Name Type Description colorstring Returns:
- Type
- Separator
-
setHeight(height)
-
Parameters:
Name Type Description heightnumber Returns:
- Type
- Separator
-
setTransparent(transparent)
-
Parameters:
Name Type Description transparentboolean Returns:
- Type
- Separator
-
setVerticalAlign(align)
-
Parameters:
Name Type Description alignEVerticalAlign Returns:
- Type
- Separator
Linha horizontal que representa uma quebra de linha podendo conter cor e tamanho