angular-owl-carousel

WebJar for angular-owl-carousel

License

License

MIT
Categories

Categories

Angular User Interface Web Frameworks
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

angular-owl-carousel
Last Version

Last Version

0.3.0
Release Date

Release Date

Type

Type

jar
Description

Description

angular-owl-carousel
WebJar for angular-owl-carousel
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/jonahbron/angular-owl-carousel

Download angular-owl-carousel

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bower/angular-owl-carousel/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>angular-owl-carousel</artifactId>
    <version>0.3.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/angular-owl-carousel/
implementation 'org.webjars.bower:angular-owl-carousel:0.3.0'
// https://jarcasting.com/artifacts/org.webjars.bower/angular-owl-carousel/
implementation ("org.webjars.bower:angular-owl-carousel:0.3.0")
'org.webjars.bower:angular-owl-carousel:jar:0.3.0'
<dependency org="org.webjars.bower" name="angular-owl-carousel" rev="0.3.0">
  <artifact name="angular-owl-carousel" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='angular-owl-carousel', version='0.3.0')
)
libraryDependencies += "org.webjars.bower" % "angular-owl-carousel" % "0.3.0"
[org.webjars.bower/angular-owl-carousel "0.3.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Angular Owl Carousel

This directive allows you to back a Owl Carousel with data from an Angular controller.

For use with Owl Carousel 2

Usage

Javascript:

// Define app module
angular
    .module('myApp', ['angular-owl-carousel']);

// Create controller
angular
    .module('myApp')
    .controller('MyController', MyController);

function MyController() {
    this.owl = {
        items: ["item 1", "item 2"],
        options: {
            loop: true,
            nav: false
        }
    };
}

HTML:

<div ng-controller="MyController as main">
    <div owl-carousel="main.owl.items" owl-options="main.owl.options">
        <div class="item">{{ item }}</div>
    </div>
</div>

Versions

Version
0.3.0
0.2.3