Description |
|||||||||
Add functionality to ui.tabs |
|||||||||
Parameters |
|||||||||
string |
The control's ID or name |
||||||||
string |
The command: init|active |
||||||||
object |
The params depend of the command:
|
||||||||
Return |
|||||||||
void |
|||||||||
Example |
|||||||||
document.getElementById("your-container").innerHTML = ui.tabs( "tabExample01ux", [ {title:"Tab1", icon:ui.fa("fire"), content:"Content for tab 1"}, {title:"Tab2", icon:ui.fa("water")}, {title:"Tab3", icon:ui.fa("wind")}] ); ux.tabs("tabExample01ux","init");
Preview: In the preview of the example you can see the result of the string: |