Skip to content

Hide next button swiffy-slider-nav before init #102

@dngraphisme

Description

@dngraphisme

Hello @nicped ,

Thank you for this library and the work you provide. I have a small question concerning a particular event in ajax. I explain

I use this in class: slider-nav-autohide on swiffy-slider.

The use of the carousel type works well, but I have an event in ajax, which allows to change a variation of a product, and therefore on click, I relaunch swiffy-slider at the success of the ajax.

Except that I have the next navigation which appears 1s then disappears again (due to the reinitialization of the library)

Is there something I can have to counter this behavior ?

reinit-swiffy.mov

Thank you, regards Nicolas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions