Questions tagged [enyo]

An open-source JavaScript framework for building single-page applications, based on code that powered HP webOS 3.0 for the HP TouchPad device, but now supporting a wide range of desktop and mobile browsers. The core principles are object-orientation, encapsulation of view and functionality, and code reuse.

An open-source JavaScript framework for building single-page applications, based on code that powered HP webOS 3.0 for the HP TouchPad device, but now supporting a wide range of desktop and mobile browsers. The core principles are object-orientation, encapsulation of view and functionality, and code reuse. More details at http://enyojs.com.

196 questions
1
vote
2 answers

How to set properties in enyo

in enyo I can't find any documentation that tells tyou how to chnage the Properties. For example in the documentation it has disabled as one of the properties. What would the java script code be to set that property, so I could make the button go…
Ted pottel
  • 6,869
  • 21
  • 75
  • 134
1
vote
1 answer

WebOS app not scrolling down on the main page

I have an Enyo webOS application I am developing for phones. There are several text inputs on the main page, with a button underneath them--however, the button is not viewable below the textboxes. However, there appears to be a scroll lock by…
DashRantic
  • 1,448
  • 4
  • 19
  • 32
1
vote
2 answers

Return value from Ajax callback?

I have a JavaScript class that handles queries to a local DB (on a WebOs device). Now what I want to do is, create a model with all my basic queries to simplify my code. So first I create a function: getLists: function(){ this.query(…
levi
  • 23,693
  • 18
  • 59
  • 73
1
vote
1 answer

How can I hide rows in a VirtualRepeater?

I'm using one VirtualRepeater in Enyo (WebOS 3.0): {kind: enyo.VirtualRepeater, name: "eventList", onSetupRow: "setupRowWithEvent", onclick: "doListTap", components: [ {kind: enyo.Item, name:"eventItem", layoutKind: enyo.HFlexLayout,…
Diego Freniche
  • 5,225
  • 3
  • 32
  • 45
1
vote
2 answers

Does HP webOS have a WYSWYG GUI design tool?

I hope to migrate one of my apps to HP webOS. Does webOS have WYSIWYG GUI tool that integrates with Mojo or Enyo, or do have to use a HTML/CSS/JavaScript editor?
monsabre
  • 2,099
  • 3
  • 29
  • 48
1
vote
1 answer

WebOS VirtualList Problem

In my code i am tring to display my sqlite db in vertual list and in that code in for loop you can see the commented alerts and they conform that the value i want is which i want from db. now that value i want to show in vertual list. I know the…
Ajay Patel
  • 5,298
  • 11
  • 55
  • 87
1
vote
3 answers

Hiding unique API keys in webOS (Enyo/JavaScript)

How do I hide my private API keys in/for my webOS - Enyo based apps? My development has basically come to a halt because of this issue. Since webOS Enyo (as well as Mojo) is coded in Javascript, any user can plug their device in and easily view my…
Dexter
  • 313
  • 2
  • 5
1
vote
3 answers

Uncaught ReferenceError: X is not defined

So I am digging through the WebOS enyo framework and am getting very frustrated. I am currently getting the following error in my log. I have been looking at the samples in the framework and I just can't seem to find where the error is stemming…
James West
  • 771
  • 1
  • 14
  • 26
1
vote
2 answers

Xml parsing in webos for enyo framework

please help me with the following problem. the problem is in xml parsing my xml code is:
Informatics
  • 217
  • 2
  • 6
1
vote
1 answer

Canvas resize with Flexbox and Enyo

I am having a problem with resizing the coordinate system of a canvas when using Flexbox and Enyo. See the example at: http://jsfiddle.net/g7MLS/1989/ When you first run it, everything is fine. Shrink the width of the box and the line of text stays…
k_hampton
  • 23
  • 3
1
vote
1 answer

enyo.js to integrate with other javascript component

I'm trying to integrate enyo.js with opentok. Can't figure how to wrap the video component which will be generated from opentok's javascript. If anyone can help me how to integrate enyo with external javascript such as opentok would be great. I have…
user1595858
  • 3,700
  • 15
  • 66
  • 109
1
vote
2 answers

How do I know if a enyo.Model was modified?

I have this code but when I clicked the Button Test , don't enter the function modelChanged in my App,only enter when de model was create the code is in this link: http://jsfiddle.net/bs38A/16/ enyo.kind({ name: "App", bindings: [ …
manu
  • 13
  • 3
1
vote
1 answer

Behavioral difference between enyo.dispatch(e) and target.dispatchEvent(e) web api

I am curious to know that how dispatch of event happens in Enyo. Say for a, simple DOM tree, having a parent node with two child nodes. All i want to do is to propagate custom event generated from child 1 to child 2. I have created a sample for…
Rakesh_Kumar
  • 1,442
  • 1
  • 14
  • 30
1
vote
1 answer

Exclude some files during the minification process

WEBOS ENYO : 2.4 Is there a way to exclude certain files when running the minification process using the ares command line in the webOS CLI I have a JS file that seems to break everything during the minification process because of the the jquery…
Fabii
  • 3,820
  • 14
  • 51
  • 92
1
vote
3 answers

What does "can't spot in frozen mode" mean?

I am using enyojs 2.4 and the moonstone library. What does "can't spot in frozen mode" mean ? I have two inputs : {kind: "moon.InputDecorator", name: "emaildec", spotlight: true, defaultSpotlightLeft : "emaildec", components: [ {kind:…
Fabii
  • 3,820
  • 14
  • 51
  • 92