Hey! Quoting Marco Martin <notm...@gmail.com>: > it is possible to include separate js files, yes > and as far i know, all we can do to reuse our api is to register > qobjects with > our api with properties/signals/invokables. > > AppletInterface works pretty well there, one can just register it t the root > context as "plasmoid" and everything (almost) just works. > > it is not possible to override plasmoid functions in javascript with things > like plasmoid.dataUpdated = function() as far i know, but i could be wrong, i > don't thik we really need this tough. > > i -think- most of our bindings in javascript/simplebindings/ aren't of much > use, since they use qscriptvalues, that is another thing that if it's used is > buried pretty deep, all you pass around seems to be a simple qvariant, so > simple thngs like colors,rects,sizes seems to just work. >
I can't add much here as I agree with everything you said Marco :) However the mobile sprint would be a nice place for us to play with this and do some tests... Cheers, ------------------------------------------- _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel