1.2.3 • Published 4 years ago

vue-bottom-sheet v1.2.3

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

vue-bottom-sheet

GitHub open issues Npm version MIT License

Swipeable Material Bottom Sheet implementation that does not require any dependencies. Works only on touchscreens.

Installation

npm install vue-bottom-sheet

Usage

<VueBottomSheet>
  <!--> Your content here </-->
</VueBottomSheet>
import { VueBottomSheet } from 'vue-bottom-sheet'

export default {
  components: {
    VueBottomSheet
  }
}

Properties

NameRequiredTypeDefaultDescription
backgroundColorfalseStringwhiteColor of the sheet
imagefalseBooleanfalseAdds an animated title image to the sheet
imageSrcfalseString-Specifies the cover image. Requires the attribute image
minSheetHeightfalseNumberwindow.innerHeight * 0.15Height of the sheet when closed
halfOpenSheetHeightfalseNumberwindow.innerHeight * 0.5Height of the sheet when open in the first stage
maxSheetHeightfalseNumberwindow.innerHeightHeight of the sheet when open in the second (last) stage
roundedfalseBooleanfalseRound the top two corners of the sheet
elevationfalseString8Sets the elevation of the sheet 0...24
1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.4.0

4 years ago

0.1.0

4 years ago