Back

Savnac Cheetsheet

Quick reference for UI element ion Savnac

Savnac Documentation

Button

<button {{@element . property="btnAdd"
                     onclick="btnAddClick"
                     cssclass="btn btn-default"}}>
  Add
</button>

Button Handler

btnAddClick(e, data){
  this.stopBubble(e);
}

Simple Textbox

<div class="form-group">
  <label class="control-label col-md-3">
    Folder Name
  </label>

  <div class="col-md-9">
    {{'textbox' . property="tbFolderName"
                  cssclass="form-control"}}    
  </div>
</div>