Skip to content

Swiper Package

Davis edited this page Dec 12, 2019 · 4 revisions

Home / Packages


@stratusjs/swiper

npm version

AngularJS Swiper Carousel component to be used as an add on to StratusJS

Usage

Stratus HTML Components enabled

  • <stratus-swiper-carousel></stratus-swiper-carousel>

See Swiper Package Usage for detailed instructions on usage and parameters.


Frameworks & Libraries

Installation

Either Yarn install

  • yarn add @stratusjs/swiper

Or NPM install

  • npm install @stratusjs/swiper

And include the the library paths into your stratus config.js such as

boot.configuration.paths = {
  // Swiper Package
  'swiper': boot.deployment + 'swiper/js/swiper.esm.browser.bundle',

  // STRATUS SRC: Swiper
  '@stratusjs/swiper/*': boot.deployment + '@stratusjs/swiper/src/*' + boot.suffix,

  // Components (Until Converted to Angular 8+)
  'stratus.components.swiperCarousel': boot.deployment + '@stratusjs/swiper/src/carousel.component' + boot.suffix
}

Dependencies

All dependencies need to be installed within the same project along with your config paths define. (manually installed for the time being)


License

All information contained herein is, and remains the property of Sitetheory and its suppliers, if any. The intellectual and technical concepts contained herein are proprietary to Sitetheory and its suppliers and may be covered by U.S. and Foreign Patents, patents in process, and are protected by trade secret or copyright law. Dissemination of this information or reproduction of this material is strictly forbidden unless prior written permission is obtained from Sitetheory.

Clone this wiki locally