Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

materialize dropdown js

document.addEventListener('DOMContentLoaded', function() {
    var elems = document.querySelectorAll('.dropdown-trigger');
    var instances = M.Dropdown.init(elems, options);
  });

  // Or with jQuery

  $('.dropdown-trigger').dropdown();
Comment

materialize dropdown

<!-- Dropdown Trigger -->
  <a class='dropdown-trigger btn' href='#' data-target='dropdown1'>Drop Me!</a>

  <!-- Dropdown Structure -->
  <ul id='dropdown1' class='dropdown-content'>
    <li><a href="#!">one</a></li>
    <li><a href="#!">two</a></li>
    <li class="divider" tabindex="-1"></li>
    <li><a href="#!">three</a></li>
    <li><a href="#!"><i class="material-icons">view_module</i>four</a></li>
    <li><a href="#!"><i class="material-icons">cloud</i>five</a></li>
  </ul>
Comment

PREVIOUS NEXT
Code Example
Javascript :: change module name react native android studio 
Javascript :: jquery autocomplete bootstrap modal 
Javascript :: react scrip for deplot heroku 
Javascript :: jquery add css important 
Javascript :: chartjs templates 
Javascript :: spinner react native 
Javascript :: list of alphabet letter english for js 
Javascript :: react protected route 
Javascript :: jalali moment get milisocnds 
Javascript :: javascript access nested property by string 
Javascript :: array remove last item 
Javascript :: remove duplicates javascript 
Javascript :: discord.js if no arguments 
Javascript :: how to convert div to image in jquery 
Javascript :: javascript string() function 
Javascript :: angular ng class with animation 
Javascript :: hostlistener 
Javascript :: object.entries in javascript 
Javascript :: react chunk file too large 
Javascript :: mongodb find and update one field 
Javascript :: shadow class angular 
Javascript :: greater than x but less than y js 
Javascript :: mongoose patch document 
Javascript :: react-data-table-component cell action 
Javascript :: reactjs lifecycle class components 
Javascript :: js string to arraybuffer 
Javascript :: vanilla js http server 
Javascript :: ternaire javascript 
Javascript :: if () { } 
Javascript :: ping discord with autocode 
ADD CONTENT
Topic
Content
Source link
Name
6+4 =