jibeinc/juice

View on GitHub
src/MultiSelect/multiSelect.dot

Summary

Maintainability
Test Coverage
<div class='ui-multi-select'>
  {{~it.options :opt:index}}
  <div class="select-option">
    <input
      type='checkbox'
      id='{{= opt.id }}'
      name='{{= opt.id }}'
      value='{{!opt.value}}'
      {{? opt.checked }}checked=true{{?}}
      style="touch-action: manipulation; -ms-touch-action: manipulation; cursor: pointer;"
    />
    <label
    class='ms-label'
    for='{{= opt.id }}'
    style="touch-action: manipulation; -ms-touch-action: manipulation; cursor: pointer;">
    <span style="touch-action: manipulation; -ms-touch-action: manipulation; cursor: pointer;">
      {{=it.renderItem(opt)}}
    </span>
    </label>
  </div>
  {{~}}
</div>