Self ng.Component.set_button (Button btn) vs. 1.1.0 Full+Lite

Sets the component button. When the ng.[NG[Link=Button]Button is clicked, it will toggle the component.

Parameters

Button btn Required vs. 1.1.0 Full+Lite
The button that will open or close the component.

Return

Self Required vs. 1.1.0 Full+Lite
The original ng.Component object.

Examples

Using ng.Component.set_button(btn)
Demo: