Call Framework7 functions

Morning @George @Teodor @patrick

Please can one of you help. I need to call framework7 functions from javascript.

For example I want to use the action sheet so I need to be able to call it programatically.

var actions = app.actions.create({
  buttons: [ /* ... */ ],
  on: {
    opened: function () {
      console.log('Action Sheet opened')
    }
  }
})

I need to be able to control the router programmatically
Tried this and it doesn’t work: app.router.navigate(’/home/’)

You can open the dialog via workflow but you can’t close it.

I have asked for help twice now on the same issues:

Calling Framework7 function (Thanks George for answering part of the question)

Thank you.

Community Page
Last updated: