0.1.8 • Published 4 years ago

vue-papers v0.1.8

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

vue-papers

Installation

npm install vue-papers

Usage

<vue-papers
  :margin-between="10"
  :padding-top="20"
  :padding-bottom="20"
  >

  <!-- Optional secondary slots (header & footer) -->
  <div slot="header">Header on every page</div>
  <div slot="footer">Footer on every page</div>

  <!-- Elements in default slot will be placed on to A4 papers. Page breaks will occure between elements. -->
  <p>Lorem ipsum dolor sit amet, consectetur adipisci elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua.</p>
  <p>Lorem ipsum dolor sit amet, consectetur adipisci elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua.</p>

</vue-papers>

Props

propstypedefaultnote
margin-betweennumber0Distance between elements in main slot.
padding-topnumber0Page padding (top)
padding-bottomnumber0Page padding (bottom)
0.1.8

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.2

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.1

4 years ago