The setPadding method sets the widget's padding CSS attribute. It accepts an array of integers as an argument which modify the left, right, top, bottom attributes respectively.
Syntax | widget.setPadding(arrPadding); |
---|---|
Parameters | arrPadding : Required. Array of integers. |
Returns | - |