Hi,

I would like to access the createEvent function from a .js file.
I tried the following:

--- SNIP
.import org.nemomobile.calendar 1.0 as Calendar

function addEvent (ocEvent) {

    var event = Calendar.createEvent();
---

But I only get: Object [object Object] has no method 'createEvent'

What can I do to make it work ?

Ciao
    Matze


_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to