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

In Enyo js, Difference between waterfall and waterfalldown

In enyo.js, what is the difference between waterfall and waterfalldown event ?
Satish
  • 63
  • 5
0
votes
2 answers

angular2: how to control the whole app with keyboard only?

What approach would you recommend to control the whole app with keyboard only? I found Spotlight lib, but it depends on enyojs which seems to have its own component model and overall enyojs seems to be an overkill. So far I'm listening on keydown…
Petr Marek
  • 1,381
  • 1
  • 15
  • 31
0
votes
0 answers

Integrating Enyo and Snap.svg

I am trying to integrate snap.svg in to Enyo and having a problem. The code below works, until render() is called. The problem seems to be that generateHtml in HTMLStringDelegate.js doesn't know about the content added by snap.svg and clears out…
k_hampton
  • 23
  • 3
0
votes
1 answer

How to style Repeater item background color ontap?

I have a repeater of items in a Enyo app. In the current setup tapping the repeater item doesn't show a transition or visual cue to show it's been tapped. So what I tried is setting the class of the repeater item passed in from the ontap event on…
Brian Var
  • 6,029
  • 25
  • 114
  • 212
0
votes
1 answer

How to dynamically build a table from a JSON array?

I've placed an AJAX GET call in an Enyo view. The GET calls a web service which returns an array of records including the column headers. My aim is to dynamically build a table with this returned array, where a row is created for each index and…
Brian Var
  • 6,029
  • 25
  • 114
  • 212
0
votes
0 answers

How to iterate over a div enyos component?

enyo.kind({ name: "Usr", kind: enyo.Control, published: { username: "", ToDo: [], Done:[] }, components: [ {tag:"title",name:"username"}, {tag:"input", name:"desc", placeholder: "to…
0
votes
0 answers

Is there any way to submit a javascript variable to the server-side using jade form?

form(role='form', action='/logout', method='POST') button.btn.btn-warning.btn-lg(type='submit') Log Out input(name='newList', type='hidden', value= locals.usr ) p script(type="text/javascript"). …
0
votes
2 answers

Enyo error: "Uncaught referenceError: App is not defined"

I am getting the error: "Uncaught referenceError: App is not defined" in my JS console when loading this Enyo app on my localhost. I am brand new to Enyo so I am still trying to learn the concepts of kinds and components. app.js (in source…
user5109957
0
votes
1 answer

Loading image in cache using enyo.js

I need to load images of list of product in cache using enyo and then need to load it in front end (UI), which contains list of products, for mobile version of openbravo. I am new in this field, can anyone help me out in this.
Anshul
  • 9
  • 4
0
votes
2 answers

Enyojs Routing and rendering issue

I am new to Enyo and trying to do mobile web application with router and multiple pages, it is not actually a single page application but we want to maintain different header and footer and content in different pages, so we tried with multiple enyo…
user1032521
  • 11
  • 2
  • 6
0
votes
1 answer

ENYO -Is there any enyo kind which suggests and autocompletes the domain suffix from a list of predefined email domains

Is there any enyo kind which suggests and autocompletes the domain suffix from a list of predefined email domains while an user types into the email input field. Entering the first few letters of your domain will display a suggestion. (e.g "@g" for…
Shiv
  • 1
0
votes
1 answer

Unable to throw event enyo.model

I have following code.I am trying to send event to other kind when I get response of ajax query.I am using enyo JsonpSource. new enyo.JsonpSource({ name: "json" }); //new enyo.AjaxSource({ name: "json" }); enyo.kind({ name:…
arya
  • 81
  • 1
  • 8
0
votes
1 answer

Error creating WebGL context enyo

I am trying simple spinning cube sample of three.js in enyo framework. I am getting error as THREE.WebGLRenderer:Error creating WebGL context. Here is my code: enyo.kind({ name:"Cubetest", create:function () { // body... …
arya
  • 81
  • 1
  • 8
0
votes
1 answer

enyo.app stucks in create function

Here is my code When I call explictly getPreloadedAppList from my application like preLoadedApp.getPreloadedAppList(successCallback1,failCallback1);, I get proper response as nApps = 12. But when I do this in create function of enyo kind,my program…
arya
  • 81
  • 1
  • 8
0
votes
1 answer

Timer function calling 2 times javascript and enyo

> var index=0; enyo.kind({ name:"Kapping", events: { onBeat: "" }, create : function(){ this.inherited(arguments); this.timer = window.setInterval(enyo.bind(this,"beat"),1000); }, destroy : function(){ if(this.timer != undefined){ …
arya
  • 81
  • 1
  • 8