Menu icon Foundation
Reveal options not working 5.2.1

            

         $('#editModal').foundation('reveal', 'close', {animation: 'fade',animation_speed: 1000});

I upgraded from 4 to 5.2.1 and now my reveal options aren't being used. I changed my js to use underscore instead of camel case but nothing works. Is this a bug or is there a new way to apply these options?

Thanks

revealjsoptions

            

         $('#editModal').foundation('reveal', 'close', {animation: 'fade',animation_speed: 1000});

I upgraded from 4 to 5.2.1 and now my reveal options aren't being used. I changed my js to use underscore instead of camel case but nothing works. Is this a bug or is there a new way to apply these options?

Thanks

ndh almost 5 years ago

I can get the options to work if I use $(document).foundation('reveal',{animation: 'fade',animation_speed: 1000});
but I had different options based on open and close events. Now they don't work in 5.2.1.

Rafi Benkual almost 5 years ago

Can you please open a GitHub issue for this so we can look into it? https://github.com/zurb/foundation

ndh almost 5 years ago