Centers horizontally and vertically if not already positioned. This also sets
position:fixed
.
Source
center() =>
jsElement.callMethod('center', []);
Centers horizontally and vertically if not already positioned. This also sets
position:fixed
.
center() =>
jsElement.callMethod('center', []);