Form inputs, checkbox, switch, toggle button
Checkbox
FormInput/Index.cshtml
<div class="efield">
<label>
@Html.Awe().CheckBox(new CheckBoxOpt { Name = "chk1", Value = true })
<span class="o-con">Checkbox</span>
</label>
</div>
<div class="efield">
<label>
@Html.Awe().CheckBox(new CheckBoxOpt { Name = "chk2", Enabled = false, Value = true })
<span class="o-con">Disabled</span>
</label>
</div>
<div class="efield">
<label>
@Html.Awe().CheckBox(new CheckBoxOpt { Name = "chk5", Enabled = false })
<span class="o-con">Disabled</span>
</label>
</div>
Toggle button
show code
Button
FormInput/Index.cshtml
@Html.Awe().Button(new ButtonOpt{ Text = "button"})
@Html.Awe().Button(new ButtonOpt{ Text = "primary", CssClass = "awe-btnp"})
@Html.Awe().Button(new ButtonOpt{ Text = "disabled", Enabled = false})
Comments