GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - axtutuu/vue-swipeable-bottom-sheet

BranchesTags
Open more actions menu

Latest commit

 

History

42 Commits
42 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
dist
dist
 
 
example
example
 
 
src
src
 
 
.babelrc
.babelrc
 
 
.gitignore
.gitignore
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
postcss.config.js
postcss.config.js
 
 
vue-swipeable-bottom-sheet.gif
vue-swipeable-bottom-sheet.gif
 
 
webpack.config.js
webpack.config.js
 
 
webpack.example.config.js
webpack.example.config.js
 
 

Repository files navigation

Vue Swipeable Bottom Sheet

NPM license

A swipeable material's bottom sheet implementation, that uses hammerjs.

vue-swipeable-bottom-sheet.gif

Installation

NPM

npm install --save vue-swipeable-bottom-sheet

or

Yarn

yarn add vue-swipeable-bottom-sheet

Usage

<template>
  <swipeable-bottom-sheet ref="swipeableBottomSheet">
    <h1>Lorem Ipsum</h1>
    <h2>What is Lorem Ipsum?</h2>
    <p>
      <strong>Lorem Ipsum</strong> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
    </p>
  </swipeable-bottom-sheet>
</template>

<script>
import { SwipeableBottomSheet } from "vue-swipeable-bottom-sheet";

export default {
  components: {
    SwipeableBottomSheet
  },
}
</script>

mount with ssr

<template>
  <no-ssr>
    <swipeable-bottom-sheet ref="swipeableBottomSheet">
      <h1>Lorem Ipsum</h1>
      <h2>What is Lorem Ipsum?</h2>
      <p>
        <strong>Lorem Ipsum</strong> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
      </p>
    </swipeable-bottom-sheet>
  </no-ssr>
</template>

if (process.browser) {
  const SwipeableBottomSheet = require('vue-swipeable-bottom-sheet')
  Vue.component("swipeable-bottom-sheet", SwipeableBottomSheet)
}

License

MIT

About

No description, website, or topics provided.

Resources

Readme
MIT license
Activity

Stars

45 stars

Watchers

1 watching

Forks

14 forks
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.