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
8
votes
2 answers

How do i get access to SOAP response property?

All Form last few days i am finding how to access soap using JS, and after all i got the solution from this link Simplest SOAP example Now i am able to get my soap request in alert. but i want to use its property and want to print the response (i…
Ajay Patel
  • 5,298
  • 11
  • 55
  • 87
5
votes
4 answers

How to debug Enyo App WebOS 3.0?

i am nooby to WebOS3.0 (also in Mojo). And now days i am working on palm pad apps dev. and i want to know how to debug enyo apps?
Ajay Patel
  • 5,298
  • 11
  • 55
  • 87
4
votes
1 answer

Make enyo.canvas fit

I have this fiddle: http://jsfiddle.net/y9mhE/3/ Now I want to make the canvas control fit the parent div. Since it inherits enyo.control I should be able to use the 'fit' property, but that does not seem to work. is this a bug, or am I missing…
Pieter Willaert
  • 879
  • 13
  • 36
4
votes
2 answers

Handling events with SVG control in Enyo 2.0 (object or embed tag)

I have this control for loading a SVG-document (works, the SVG displays fine) enyo.kind({ name: "SvgParser", kind:"Control", fit: true, published: { source:'' }, components:[{ tag: "object", // Or Embed …
Pieter Willaert
  • 879
  • 13
  • 36
3
votes
1 answer

Leveraging Ember with Enyo?

I am starting to evaluate frameworks for a HTML5 app. I really like the enyo model for developing an app. However, my app needs an object-relational mapper (ORM) for local storage and some way to update the UI based on changes in the ORM data. …
3
votes
1 answer

Display ModalDialog on Enyo window load

I am trying to display a ModalDialog as soon as the window gets loaded, something like a license agreement for my app. It seems to work fine when triggered with a button click, but does not work when I try this: This is in the components array of…
Bhakta Nall
  • 194
  • 1
  • 10
3
votes
2 answers

How can i put image in webOS application

i want to add image in the webos application and want to add click event for it. i am also not able to put background image in the application. i put this code to set background image in Basic.css file body.palm-default { background:…
Gaurav Thummar
  • 780
  • 1
  • 12
  • 22
3
votes
1 answer

Command Line App Creation for HP Touchpad

I have recently started venturing into some HP webOS development and I am wondering if anyone knows if there is a code-generation command similar to the webOS Mojo palm-generate tool.
James West
  • 771
  • 1
  • 14
  • 26
3
votes
1 answer

How do you spy on a call back in an ajax call with jasmine?

I'm currently using enyo and I have a function on a component that takes a callback function and makes an ajax call, then calls the callback on success. I can't seem to figure out how to spy on the callback function. enyo.kind({ name: 'Login', …
TripWired
  • 378
  • 7
  • 17
3
votes
2 answers

TypeScript. incompatible types in array. How to declare an object with method that can take array of any objects?

How to declare an object with method that can take array of any objects? In the code beloy: (1) code has a compile error 'Incompatible types in array'. (2) no error. I want to use (1). declare var enyo; // (1). compile error: 'Incompatible types…
user1167761
  • 345
  • 3
  • 15
3
votes
1 answer

how connect to echonest from enyo

I am new to Enyo and web services. I am looking to build a web page with Enyo that will require use of Echonest. Can anyone help me understand how to connect to the Echonest service from inside Enyo and whether to use SOAP, REST, or something else?
Suchismita
  • 85
  • 12
2
votes
2 answers

Centering an image on screen using CSS - Random Screen/Image dimensions

I have to create a web page that for the purposes of this question is a single image centered both vertically and horizontally in the center of the screen. It has the following requirements: The screen size of the client is unknown (mobile) The…
Error 454
  • 7,255
  • 2
  • 33
  • 48
2
votes
2 answers

Enyo hierarchy. this.$ include all components, even those with nesting order 2

Why in component var matrix = new enyo.Control({ name:"Matrix", tag: "div", classes : 'strategies', /*handlers: { init: "initHandler" },*/ components: [ { tag: "div", classes: "blankblock", content: ' '…
Peinguin
  • 85
  • 5
2
votes
1 answer

enyo is giving me a "not allowed by Access-Control-Allow-Origin".and will not load content from nodejs server

I made the simple hello world NODEJS Server. I have a enyo web service running in chrome that is trying to access the NODEJS server at http://localhost:3000 When is calls the onSuccess method, no data is loaded and the consule shows the following…
Ted pottel
  • 6,869
  • 21
  • 75
  • 134
2
votes
1 answer

which webOS Enyo element/component is suitable for this case?

i have a set of HFlexLayout('s) inside of a VFlexLayout, a vertical list of buttons(e.g., X,Y,Z) with 5 fields after each button. when a button is pressed, i want one of the fields to toggle from off to…
ryan_m
  • 721
  • 2
  • 7
  • 18
1
2 3
13 14