hide ();
The hide method hides the control element.
To execute the example, connect the PP.js library and the PP.css visual styles table to HTML page.
Create three buttons: an instance of the Button class named MyButton and HTML buttons named Show and Hide. Pressing them hides or shows the first button.
<div id = "btn1"></div>
<br/>
<script type="text/javascript">
var b1 = new PP.Ui.Button({
ParentNode: document.getElementById("btn1"),
Content: Select})
</script>
After executing the example on clicking the Hide button the Mybutton button is hidden. It appears on clicking the Show button.
See also: