Self ng.Button.set_component (Component comp) vs. 1.1.0 Full+Lite

Assign a button to a ng.Component. This will make the button toggles the component when clicked.

Parameters

Component comp Required vs. 1.1.0 Full+Lite
The component to assign.

Return

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

Examples

Using ng.Button.set_component(comp)
Demo:
My Button

API Menu