RoyalSlider with Angular

mg's Avatar

mg

19 Aug, 2015 09:14 AM

Hello,
first of all: Thanks Dmitry for this great plugin! You did a really great job!

I use the RoyalSlider in combination with Angular but it doensn't work the way I want. The RoyalSlider puts all content which I get of the ng-repeat in only one div. That's bad because around every loop entry has to be a container to be recognized as a single slide.

Any suggestions?

  1. Support Staff 1 Posted by Dmitry Semenov on 19 Aug, 2015 03:13 PM

    Dmitry Semenov's Avatar

    Hello,

    RoyalSlider doesn't keep all slides in DOM and heavily modifies its markup after the initialization. So make sure that you apply all its DOM modifications before it's initialized.

    Dmitry

  2. 2 Posted by sikkom on 16 Dec, 2015 10:15 PM

    sikkom's Avatar

    Dmitry, Hello.

    How can I "apply all its DOM modifications before it's initialized"?

  3. Support Staff 3 Posted by Dmitry Semenov on 17 Dec, 2015 08:33 AM

    Dmitry Semenov's Avatar
  4. 4 Posted by Matthew on 20 Nov, 2018 06:54 AM

    Matthew's Avatar

    Hi Dmitry,
    I am also having the same issue. When I use the ng-repeat, doesn't show any. Because initialized point, guess.
    If you have any example code, that would help.

    Thanks,
    Matt

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • screenshot.png 212 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac