minimal_fab
An implementation of Floating Action Button by Google in plain css and javascript.
Features
- Fully customizable
- Light weight
- Doesn't require jquery or bootstrap
- Includes a modal dialog to display messages and videos
Installation
npm i minimal_fab
Usage
let fab = ;;
You can view the demo at acesmndr.github.io/minimal_fab or dig into the demo source code at Demo Sourcecode
Webpack configuration
For usage with webpack it requires style-loader
and css-loader
packages and the webpack.config.js
must be set accordingly.
const path = ;moduleexports = entry: './main.js' module: loaders: test: /\.css$/ loader: "style-loader!css-loader" output: path: path filename: 'bundle.js' ;
Dependencies
Package | Version | Dev |
---|---|---|
sweetalert | ^2.0.8 | ✖ |
font-awesome | * | ✖ |
** Font awesome needs to be loaded separately **
Author
Aashish Manandhar acesmndr@gmail.com http://github.com/acesmndr