hellsan631 / angular-fullpage.js

An angular directive for fullpage.js

Home Page:http://hellsan631.github.io/angular-fullpage.js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to get callback arguments?

CorpusCallosum opened this issue · comments

Hi, I'm trying to add some callback options, like so:

$scope.fpOptions = {
            afterSlideLoad: function( anchorLink, index, slideAnchor, slideIndex){

            }}

    <div full-page options="fpOptions">
    </div

However, the callback argument (anchorLink, index, slideAnchor, etc) are coming back as undefined. How can I get the values for these arguments?

Thanks.

I realized this was an issue with the .min version of the library, appears to be solved with the uncompressed version, but the .min version I guess was not rebuilt, so maybe that's why it isn't working.

Oh? I was trying to debug this, but glad to hear it was fixed. I'll rebuild right away, thanks for pointing out