Button
Simple button control allowing for user interaction.
Basic example
var button = new Fit.Controls.Button("Button1");
button.Title("Rewind");
button.Icon("fa-fast-backward");
button.Type(Fit.Controls.Button.Type.Warning);
button.OnClick(function(sender)
{
alert("Button clicked");
});
button.Render(document.body);
Button with drop down menu
By combining Button and ContextMenu, we can create a simple multi level drop down menu button. It works great with keyboard navigation as well.