Sha256: cc5e58bd691fd63afdbcd3bf383e9d240da309ba086b157a255fdbb02ad5c639

Contents?: true

Size: 823 Bytes

Versions: 3

Compression:

Stored size: 823 Bytes

Contents

<script type="text/javascript">
document.addEventListener("DOMContentLoaded", function () {
  var listSearch = new List("search-list", {
    valueNames: ['js-item-name']
  });

  $('#list-search-input').on('focus', function () {
    $('.js-search-label').hide()
  });

  $('#list-search-input').on('blur', function () {
    var filterValue = $('#list-search-input').val();
    if (filterValue.trim() === "") { $('.js-search-label').show() }
  });

});
</script>

<div id="search-list">
<div class="search-list--input-container">
  <label class="search-list--input-label js-search-label" for="list-search-input">Search</label>
  <div class="search-list--input-wrapper">
    <input id="list-search-input" type="text" class="fuzzy-search uikit-text-input">
  </div>
</div>
<ul class="uikit-keyword-list uikit-link-list list">

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dta_rapid-0.6.6 _includes/lists/start-list.html
dta_rapid-0.6.5 _includes/lists/start-list.html
dta_rapid-0.6.4 _includes/lists/start-list.html