Skip to content

Can't override all options #29

Description

@ahmed-zekry

I can override some options only but not all, for example i can't override the 'onLeave' option property i need to pass to it a custom function so i can get the current index and next index and direction.

when in tried this code

$scope.fullPageOptions = {
                navigation: true,
                navigationPosition: 'left',
                scrollingSpeed: 1000,
                onLeave: function (index, nextIndex, direction){
                    // do some thing with index and nextIndex here
                }
}

the onLeave property didn't work like other properties

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions