This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* Based on Materialize Materialize v0.97.5 | |
* Modified to allow HTML elements in select options | |
* github.com/dbnoble | |
*/ | |
/*! | |
* Materialize v0.97.5 (http://materializecss.com) | |
* Copyright 2014-2015 Materialize | |
* MIT License (https://raw.githubusercontent.com/Dogfalo/materialize/master/LICENSE) | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// define the Shops collection on the client and the server | |
Shops = new Mongo.Collection("shops"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// define the Shops collection on the client and the server | |
Shops = new Mongo.Collection("shops"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
Item placeholder value for when the menu is closed goes inside data-placeholder (make sure to escape characters if necessary) | |
HTML Content goes inside data-content (make sure to escape characters if necessary) | |
//--> | |
<div class="input-field"> | |
<select id="primaryItem" class="icons"> | |
<option value="" disabled selected>Click to choose a product...</option> | |
<option value="product1" data-icon="product1.png" data-placeholder="Awesome Product" data-content="<div>Awesome Product</div><span>by: Brazen Tech Mfg.</span>" class="left circle">Awesome Product</option> |