How to use Zurb Foundation reveal with open, opened, close, closed callback functions?

后端 未结 9 536
执念已碎
执念已碎 2021-02-05 01:41

On zurb foundation\'s website at http://foundation.zurb.com/docs/reveal.php they listed some Options including

open: callback function that triggers \'before\' the

9条回答
  •  抹茶落季
    2021-02-05 02:09

    This is a little late but for the second part you add the attributes as a semi-colon separated list of values in the data-options attribute (tested with foundation 5), i.e:

    And no, you cannot pass functions this way, i tried :)

提交回复
热议问题