0.0.5 • Published 1 year ago

@codesoup/scroll-to-top v0.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Scroll To Top

Component places a vertically centered scroll button on the right of the html body.

Dependencies

  • @Iconify/svelte

Installation

#in your app directory
npm install @codesoup/scroll-to-top

How to use

  • Import the component and supply an options object with optional properties "device" and "icon" .
  • Set component visibility with device property (possible values: desktop, handheld). Leave unset and component is visible on both device types
  • Overwrite default iconify icon with the icon property
<script>
  import { ScrollButton } from '@codesoup/scroll-to-top';
  const config = { device: , icon: };

...
  <ScrollButton options={icon} >
@iconify/svelte@sveltejs/adapter-node@sveltejs/packageabbrevacornacorn-jsxagent-baseajvansi-regexansi-stylesanymatchaprobaare-we-there-yetargparsearray-unionasync-semabalanced-matchbinary-extensionsbindingsbrace-expansionbracesbuffer-crc32busboycallsiteschalkchokidarchownrcolor-convertcolor-namecolor-supportconcat-mapconsole-control-stringscookiecross-spawndebugdeep-isdeepmergedelegatesdetect-indentdetect-libcdevaluedir-globdoctrineemoji-regexes6-promiseesbuildesbuild-darwin-64escape-string-regexpeslint-scopeeslint-utilseslint-visitor-keysespreeesqueryesrecurseestraverseestree-walkeresutilsfast-deep-equalfast-globfast-json-stable-stringifyfast-levenshteinfastqfile-entry-cachefile-uri-to-pathfill-rangefind-upflat-cacheflattedfs-minipassfs.realpathfseventsfunction-bindgaugeglobglob-parentglobalsglobalyzerglobbyglobrexgraceful-fsgrapheme-splitterhashas-flaghas-unicodehttps-proxy-agentignoreimport-freshimurmurhashinflightinheritsis-binary-pathis-core-moduleis-extglobis-fullwidth-code-pointis-globis-numberis-path-insideisexejs-sdsljs-yamljson-schema-traversejson-stable-stringify-without-jsonifykleurlevnlocate-pathlodash.mergelru-cachemagic-stringmake-dirmerge2micromatchmimemin-indentminimatchminimistminipassminizlibmkdirpmrimrmimemsnanoidnatural-comparenatural-compare-litenode-fetchnode-gyp-buildnoptnormalize-pathnpmlogobject-assignonceoptionatorp-limitp-locateparent-modulepath-existspath-is-absolutepath-keypath-parsepath-typepicocolorspicomatchplaywright-corepostcssprelude-lspunycodequeue-microtaskreadable-streamreaddirpregexparamregexppresolveresolve-fromreusifyrimrafrolluprollup-pluginutilsrun-parallelsadesafe-buffersandersemverset-blockingset-cookie-parsershebang-commandshebang-regexsignal-exitsirvslashsorcerysource-map-jssourcemap-codecstreamsearchstring_decoderstring-widthstrip-ansistrip-indentstrip-json-commentssupports-colorsupports-preserve-symlinks-flagsvelte-hmrtartext-tabletiny-globto-regex-rangetotalisttr46tsutilstype-checktype-festundiciuri-jsutil-deprecatewebidl-conversionswhatwg-urlwhichwide-alignword-wrapworktopwrappyyallistyocto-queue
0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago