Documentation DCO Enabler -> ENABLER ADOBE EDGE -> VERTICALLY ALIGN YOUR TEXT
VERTICALLY ALIGN YOUR TEXT
You have a banner with different text to display based on your campaign scenarios and you want them to automatically center in their div.
The method verticalAlign
adapts vertically a block of text automatically and center in its div.
ADventori.initData({
wording:"Lorem ipsum dolor sit amet."
});
ADventori.Display.setText(sym.$("myText"), ADventori.data.wording);
ADventori.Display.verticalAlign(sym.$("myText"));