1.0.8 • Published 5 years ago

@nist-berlin/rent-slider v1.0.8

Weekly downloads
12
License
MIT
Repository
-
Last release
5 years ago

Built With Stencil

Rent Slider

How to use on a page

Script tag

  • Put a script tag <script src='https://unpkg.com/@nist-berlin/rent-slider@latest/dist/rent-slider/rent-slider.js'></script> in the head of your index.html. The version corresponds to the latest package version in npmjs.
  • Then you can use <rent-slider></rent-slider> anywhere in your template, JSX, html etc. Keep in mind the hyphen notation.

Node Modules

  • Run npm i nist-rent-slider --save
  • Put a script tag <script src='node_modules/@nist-berlin/rent-slider/dist/rent-slider.js'></script> in the head of your index.html
  • Then you can use the element <rent-slider></rent-slider> anywhere in your template, JSX, html etc

Component attributes

heading: Header text displayed directly above slider.

firstcontentline: Rent slider text - first line.

secondcontentline: Rent slider text - second line.

maxrent: Maximum possible value of monthly rent.

minrent: Minimum possible value of monthly rent.

rentstep: A step value for rent range control.

ctatext: CTA text.

ctaurl: Location where the CTA should lead after click.

ctashow: A value that indicates whether CTA should be displayed or not.

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.0.1

5 years ago