A flexible fixed-action-button menu. Only usable as a mixin for other ceri components/widgets
ceri-fab
A flexible fixed-action-button menu. Only usable as a mixin for other ceri components/widgets.
Demo
Install
npm install --save-dev ceri-fab ceri-tooltip ceri-icon
Usage
setup webpack for ceri-icon.
Include the icons you need.
-- -------------------- ---- ------- --- ------- - ---------------------------------------------------- - --- ---- ------- --- -- ---- -------- ------------- ----- -- ----- ------- -------- - ------- ---- ----- ------- -------------- - ---- ----- ---------- -------- ------------- ------- -------- ------------ --
Themes
Materialize
setup ceri-materialize
load theme file
require("ceri-fab")(require("ceri-fab/materialize"))
For example see dev/materialize
.
Development
Clone repository.
npm install npm run dev
Browse to http://localhost:8080/
.
Notable changes
0.2.0
- use ceri-materialize@2
License
Copyright (c) 2017 Paul Pflugradt Licensed under the MIT license.
HomePage
https://github.com/ceri-widgets
Repository
git://github.com/ceri-widgets/ceri-fab.git
来源:JavaScript中文网 ,转载请注明来源 https://www.javascriptcn.com/post/6005606b81e8991b448de8fc