File tree Expand file tree Collapse file tree 4 files changed +59
-54
lines changed
Expand file tree Collapse file tree 4 files changed +59
-54
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ It's strongly recommended to install only the modules you really need
4646- [ bianco.force-reflow] ( https://github.com/biancojs/force-reflow#api ) Force DOM reflows
4747- [ bianco.css] ( https://github.com/biancojs/css#api ) CSS helper
4848- [ bianco.attr] ( https://github.com/biancojs/attr#api ) DOM attributes
49+ - [ bianco.pointer] ( https://github.com/biancojs/pointer#api ) Pointer events helpers
4950
5051## TODO
5152
@@ -59,8 +60,8 @@ List of the bianco modules to create:
5960- [x] bianco.force-reflow
6061- [x] bianco.css
6162- [x] bianco.attr
62- - [ ] bianco.cookie
63- - [ ] bianco.pointer
63+ - [x ] bianco.pointer
64+ - [ ] ~~ bianco.cookie ~~ [ see cookie-js ] ( https://github.com/js-cookie/js-cookie )
6465- [ ] ~~ bianco.monad or bianco.chain?~~ [ see ruit] ( https://github.com/GianlucaGuarini/ruit )
6566- [ ] ~~ bianco.stream~~ [ see erre] ( https://github.com/GianlucaGuarini/erre )
6667- [ ] ~~ bianco.animate~~ [ see animore] ( https://github.com/GianlucaGuarini/animore )
Original file line number Diff line number Diff line change @@ -12,6 +12,14 @@ export {
1212 once as onceEvent
1313} from 'bianco.events'
1414
15+ // attributes helpers
16+ export {
17+ get as getAttr ,
18+ set as setAttr ,
19+ remove as removeAttr ,
20+ has as hasAttr
21+ } from 'bianco.attr'
22+
1523// css helpers
1624export {
1725 get as getCss ,
@@ -25,7 +33,7 @@ export {
2533 loadImages
2634} from 'bianco.images-loader'
2735
28- // viewport module
36+ // viewport helpers
2937export {
3038 scrollbarWidth ,
3139 documentHeight ,
@@ -36,10 +44,7 @@ export {
3644 elementOffsetLeft
3745} from 'bianco.viewport'
3846
39- // attributes helpers
47+ // pointer helpers
4048export {
41- get as getAttr ,
42- set as setAttr ,
43- remove as removeAttr ,
44- has as hasAttr
45- } from 'bianco.attr'
49+ postion as pointerPosition
50+ } from 'bianco.pointer'
Original file line number Diff line number Diff line change 3838 "rollup-plugin-node-resolve" : " ^3.4.0"
3939 },
4040 "dependencies" : {
41- "bianco.attr" : " ^0.0.5" ,
42- "bianco.css" : " 0.0.4" ,
43- "bianco.events" : " ^0.0.7" ,
44- "bianco.images-loader" : " 0.0.7" ,
45- "bianco.query" : " ^0.0.8" ,
46- "bianco.viewport" : " 0.0.5"
41+ "bianco.attr" : " ^1.0.0" ,
42+ "bianco.css" : " ^1.0.0" ,
43+ "bianco.events" : " ^1.0.0" ,
44+ "bianco.images-loader" : " ^1.0.0" ,
45+ "bianco.pointer" : " ^1.0.0" ,
46+ "bianco.query" : " ^1.0.0" ,
47+ "bianco.viewport" : " ^1.0.0"
4748 }
4849}
You can’t perform that action at this time.
0 commit comments