Wk-notes-01-13-npm-script-css-scroll
Last updated
Was this helpful?
Last updated
Was this helpful?
scripts
attribute defines npm scripts, there are 2 types:
scripts as hook triggered after certain npm command: postinstall
, prepublish
scripts defined only for npm run SCRIPT_NAME
You can use any bash script for the script value. Say, a conditional script:
scroll-snap-type
Ref:
Defines how strictly snap points are enforced on the scroll container in case there is one.
none
x mandatory
x proximity