standard.center
Audio Button Canvas Controller DropDown Html Image MediaRecorder Scale Text TextInput TextInput Tooltip Video Youtube syntax
getX(“ELEMENT_NAME”).center()
description
Horizontally centers the element.
example
@newButton("centered-button", "Hello, button!")
$ .center()
@ .print()
↳ Prints a horizontally centered button that says Hello, button!
.