Self ng.Button.set_icon (String src) vs. 1.1.0 Full+Lite

Sets the button's icon source.

Parameters

String src Required vs. 1.1.0 Full+Lite
The icon source. This path should be relative to the page (not the JavaScript file).

Return

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

Examples

Using ng.Button.set_icon()
Demo:
My Button

API Menu