You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<-div class="owl-carousel" id="breif"- >
<-div class="item" *ngFor="let breif of breifs">
{{breif.title}}
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/36735854-the-jjquery-plugin-is-not-working-after-getting-the-data-http-www-owlcarousel-owlgraphic-com?utm_campaign=plugin&utm_content=tracker%2F32095848&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F32095848&utm_medium=issues&utm_source=github).
The text was updated successfully, but these errors were encountered:
The jQuery plugin is not working after getting the data -http://www.owlcarousel.owlgraphic.com/
i got issues on *var owl = jQuery(this.elementRef.nativeElement).find('#breif'); owl.owlCarousel();
My full code are given bellow
angular 2 component:
/ beautify ignore:start /
import {Component, OnInit , ElementRef, Inject } from '@angular/core';
import {FORM_DIRECTIVES} from '@angular/common';
import {CAROUSEL_DIRECTIVES} from 'ng2-bootstrap/components/carousel';
/ beautify ignore:end /
import {Api} from '../../../../services/api';
declare var jQuery:any;
@component({
selector: 'breif',
directives: [CAROUSEL_DIRECTIVES],
template: require('./template.html')
})
export class BreifComponent implements OnInit {
elementRef: ElementRef;
breifs: Object;
public myInterval:number = 5000;
public noWrapSlides:boolean = false;
public slides:Array = [];
}
template.html
<-div class="owl-carousel" id="breif"- >
<-div class="item" *ngFor="let breif of breifs">
{{breif.title}}
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/36735854-the-jjquery-plugin-is-not-working-after-getting-the-data-http-www-owlcarousel-owlgraphic-com?utm_campaign=plugin&utm_content=tracker%2F32095848&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F32095848&utm_medium=issues&utm_source=github).The text was updated successfully, but these errors were encountered: