Integrating Bootstrap Carousel with Durandal

30 views
Skip to first unread message

Umesh V

unread,
May 30, 2016, 5:23:11 AM5/30/16
to DurandalJS
Hi,

I am new to Durandal JS, i am experimenting with it.
I have integrated bootstrap carousel in a view. I have required bootstrap.js & jquery loaded. Carousel is diplayed and next & previous button of carousel is not functioning.
Guess that router is interfering with bootstrap plugin and trying to navigate.
Any one has loaded carousel with durandal please let me know.

Regards
Umesh V

Matthew James Davis

unread,
May 30, 2016, 12:52:58 PM5/30/16
to DurandalJS
You're going to want to call

$('.carousel').carousel()

in your view model's

 
attached()

method.

Umesh V

unread,
May 30, 2016, 11:44:13 PM5/30/16
to DurandalJS
Thanks Davis. It worked.
Reply all
Reply to author
Forward
0 new messages