UseWrapping: Boolean;
The UseWrapping property wraps words down to 2 lines.
Hyphen is executed if the image button or the arrow that invokes menu are on top or on bottom.
On setting the True value, words are wrapped. By default the property is set to False.
To execute the example, connect links to the PP.js library and the PP.css visual styles table on the HTML page. The text of the Javascript code used to locate the Button component on the page is given below:
<script type="text/javascript">
var b2 = new PP.Ui.Button({
ParentNode: document.getElementById("MyImageButton"),
Content: "Image Button",
ImageUrl: "ImgBtn1.png",
ImagePosition: PP.LTRB.Bottom,
UseWrapping: true});
</script>
After executing the example the button that has the following view is placed on the page:
Seebsp;also: