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
1 answer

maxHeight for onyx.Menu not working properly in enyo

Hey I'm having a problem with menus in my enyo app. Basically, maxHeight isn't doing anything on it. I cut my code down to emphasize just the problem: enyo.kind({ name: "App", fit: true, components:[ {kind: "onyx.MenuDecorator", components: [ …
Jaghancement
  • 151
  • 1
  • 5
  • 15
1
vote
2 answers

Enyo custom properties

I try to create my own kind in enyo enyo.kind( { name: "DeviceButton", kind: "Button", caption: "", published: { userAgent: "" }, flex: 1, onclick: "butclick", butclick: function() { console.log("User agent changed to " +…
marmistrz
  • 5,974
  • 10
  • 42
  • 94
1
vote
1 answer

Enyo 2 - Canvas how to get the Contex

I am trying to draw graphs on a canvas using Enyo 2.0 and Javascript, have defined the canvas component as below.. { kind : "Canvas", name : "graph", nodeTag : "canvas", domAttributes : { width : "1020px", …
Errol Dsilva
  • 177
  • 11
1
vote
2 answers

How to design search bar?

I have a search bar on the top of a page where user can type any word. I want to display the names of the songs which contain the word typed by user. How to design this using enyo.js?
Suchismita
  • 85
  • 12
1
vote
1 answer

How to stream music from echonest?

Now I am using enyo.js. I want to stream music from echonest. Now i am able to get the ids of the songs. I want to stream the music.
Suchismita
  • 85
  • 12
1
vote
1 answer

Enyo.drag implementation on an element

Can someone give a simple example program for dragging an element in ENYO framework.. I'm not able to understand the drag library of enyo, as i'm new to this enyo framework.. it would b enough if just include a draggable button in an html page..
Nachiketha
  • 21,705
  • 3
  • 24
  • 32
1
vote
1 answer

How to use Enyo 2.0 WebService object

I am building a Campfire client that will run in WebOS and as a Chrome desktop web app. I have the following code: logIn: function(){ this.apiToken = this.$.loginScreen.$.apiToken.getValue(); this.subdomain =…
RedMage
  • 1,126
  • 1
  • 9
  • 21
0
votes
1 answer

Enyo Trying to detect when web service does not work

It seems like when my web service has a error, the onFailure method is not being called. A example is if the file is not on the server, nether or gets called. So my all has a button for the user to press. If the web service does not exist,…
Ted pottel
  • 6,869
  • 21
  • 75
  • 134
0
votes
1 answer

Trying to create web services using NODEJS and enyo as a front end

I made a simple web sevrer in NODJS. the web browser ie firfox will display hellow world, when connected to http://localhost:8888/. But the enyon web service onSuccess callback displays a null string from the inResponse. I created a static web page…
Ted pottel
  • 6,869
  • 21
  • 75
  • 134
0
votes
1 answer

Trying to find informtion on how to format enyo controls

I saw some code that had the controls in a flex box set to go at the end or begging and some where centered. I tried looking at https://developer.palm.com/content/api/reference/enyo/enyo-api-reference.html#enyo.ContainedDomBuilder for eny control,…
Ted pottel
  • 6,869
  • 21
  • 75
  • 134
0
votes
1 answer

webos / enyo: setting button size explicitly for both landscape and portrait. howto?

in webos / enyo, you can set the style field of buttons like so: var style_DONE = "color: #fff; background-color: #2A4754; width: 92px" here, i only set the width, and the height is taken care of by VFlexBox, and changes depending on the…
ryan_m
  • 721
  • 2
  • 7
  • 18
0
votes
1 answer

How do you pass a JSON object to Enyo through a web service?

I’m trying to pass a JSON object to Enyo using a web server. The file being loaded from the service in Enyo: { "Comments" : ["NewComment 1", "NewComment 2", "NewComment 3" ]} The following callback for the service generates an error…
Ted pottel
  • 6,869
  • 21
  • 75
  • 134
0
votes
2 answers

Is there a way to pass parameters when creating a Enyo app class?

I was going to try in pass in parameters when I create my Enyo app class in the index.html file. I have the following to test it new MyApps.MainApp("test").renderInto(document.body); and in the js file create: function(in) { Alert(in); } Is…
Ted pottel
  • 6,869
  • 21
  • 75
  • 134
0
votes
1 answer

enyo, how to have pans with more then one control

I'm just learning enyo, and made a simple program to use pans. Right now each pan is a button. Is there a way to have like a bunch of controls in each pan, instead of one? example on my code the first pan has a button called butA, could it have 3…
Ted pottel
  • 6,869
  • 21
  • 75
  • 134
0
votes
1 answer

Enyo location on Pre3 device

I'm just starting to have a look at the enyo framework as I bought a Pre3. I've downloaded the SDK and VM, and also the eclipse plugins to write code in eclipse. Everything works well, except that the plugins has not been updated to use the enyo…
Farid
  • 1,542
  • 3
  • 18
  • 27