component.navigation-header
Some inspiration for styling a custom version of the select element. There are many possibilities and today we are exploring some ideas of how to let the user select a choice in style.
Inspired by INSPIRATION FOR CUSTOM SELECT ELEMENTS
Example
Check out example/index.html
, the example javascript for the example page is resources/js/example_src.js
Installation
$ npm install periodicjs.component.selectfx
The selectfx component is a browserified javascript module.
Usage
JavaScript
var SelectFX = myFXSelect;//initialize nav component after the dom has loadedwindow;
HTML
Your Page Select a Country France Brazil Argentina South Africa
API
DOCUMENTATION
Full APIselectElement { console; //callback for value change };
Development
Make sure you have grunt installed
$ npm install -g grunt-cli
Then run grunt watch
$ grunt watch
Notes
- The less file is located in
resources/stylesheets