Class: Separator

mvcomponents/separator. Separator

Linha horizontal que representa uma quebra de linha podendo conter cor e tamanho


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
color string
Returns:
Type
Separator

setHeight(height)

Parameters:
Name Type Description
height number
Returns:
Type
Separator

setTransparent(transparent)

Parameters:
Name Type Description
transparent boolean
Returns:
Type
Separator

setVerticalAlign(align)

Parameters:
Name Type Description
align EVerticalAlign
Returns:
Type
Separator