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

Enyo JS Vertical Sliders

I am trying to code a vertical slider in enyo (Like a control on mixing desk). I was trying to avoid starting from scratch so I started tweaking the onyx.Slider class. I changed to styles from left to top and from width to height and with a few…
tjordan
  • 104
  • 11
2
votes
1 answer

Asynchronously load Image in Enyo

I have a enyo.List with two items: an enyo.Image and a text component. I setSrc on the Image during onSetupItem. This loads the image immediately , since I have over 10 rows they don't appear till all the images load. Is there anyway to load these…
Sandeep Chayapathi
  • 1,490
  • 2
  • 13
  • 31
2
votes
1 answer

relative position of touchevent in mobile browser

I have problems with getting the relative position of a touch event to the html element on which it occurred. I know, this was probably asked a million times. But I am struggling with this one for days, and looked at many solutions. Strange thing,…
Angelo.Hannes
  • 1,729
  • 1
  • 18
  • 46
2
votes
1 answer

onyx.DatePicker breaks in enyo.Repeater

I am not able to get a onyx.DatePicker working inside a enyo.Repeater. I set up this jsfiddle, which shows my problem. When the // in line 6 is removed, it breaks and shows Failed to load date time format hash in my console in Opera…
Angelo.Hannes
  • 1,729
  • 1
  • 18
  • 46
1
vote
3 answers

How to apply CSS class to component?

Why I can't apply my CSS Class to hello? {name: "hello", content: "Hello From Enyo",className:"myClass",ontap: "helloTap"},
Luke
  • 13
  • 3
1
vote
2 answers

Trying to make 3 columns of data with equal spacing in Enyo

I have a project I'm working on for enyo, that needs to have 3 column with the following format: --- date--- ---- message ------- ----- attachments------- The problem is that each line has a different spacing. So if the first date is…
Ted pottel
  • 6,869
  • 21
  • 75
  • 134
1
vote
1 answer

Can't access components of ModalDialog

enyo.kind({ name: "TestDialog", kind: enyo.VFlexBox, components: [ {kind: "ApplicationEvents", onLoad: "openDialog"}, {kind: "ModalDialog", name: "errorDialog", caption: "Error!", components: [ {kind: "HFlexBox", layoutKind:…
Kyle Mayes
  • 320
  • 4
  • 12
1
vote
2 answers

webos: swipe to delete rows / lists. howto?

in webos applications like pod frenzy / dr podder, among others, list items are "swipe to delete," where you swipe to the right of the screen on a specific row, which drag's the row off the screen revealing a delete dialog, at which point, you can…
ryan_m
  • 721
  • 2
  • 7
  • 18
1
vote
1 answer

How do I change the content in of an Enyo RichText Control?

I’m trying to change the content in a RichText Control, but nothing happens. The control is defined as {kind: "RichText", name: "PendingMsg", onchange: "richTextChange"}, I try to change the text in the create method: create: function() { //…
Ted pottel
  • 6,869
  • 21
  • 75
  • 134
1
vote
1 answer

enyo: how do i write a button handler to change the color of another button?

i'm trying to get the color of one button to change whenever i click on a different button. My non working code is below. I've had trouble finding the right documentation for this components: [ {flex: 1, kind: "Control", …
ryan_m
  • 721
  • 2
  • 7
  • 18
1
vote
2 answers

How do I specify button size in webos-enyo?

Inside of a scroller, I want 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 on. {X}[0][0][0][0][0] {Y}[1][0][0][0][0] {Z}[1][1][1][1][0] How do I…
ryan_m
  • 721
  • 2
  • 7
  • 18
1
vote
1 answer

In Enyo, how do you remove a control you created?

One example, I have a refresh buttons I created that is displayed on top, could I have code to later on remove this control????? code with refresh button in it I would like to remove later on as the program is running enyo.kind({ name:…
Ted pottel
  • 6,869
  • 21
  • 75
  • 134
1
vote
1 answer

Enyo, dynamically creating Components, can’t change their properties or get the events to fire

I’m trying to dynamically create a list of buttons in a ToolBar. The events are not going off, and when I try to change there properties I get a “uncaught typedef: Cannot call methed setcaption on undefined” I have the following code that create…
Ted pottel
  • 6,869
  • 21
  • 75
  • 134
1
vote
1 answer

How do I create buttons at runtime in Enyo?

I need a app to display buttons that are created at runtime. The reason is that I will be getting information from a service to see how many buttons I need. Currently the program runs but no buttons are displayed. I'm trying to use a toolbar and…
Ted pottel
  • 6,869
  • 21
  • 75
  • 134
1
vote
1 answer

enyo, How to do horizontal scrolling

I have made a simple enyo app to teat scrolling. It scrolls vertically, but not horizontal. Allso the documentation says you must set the scroll size. The example code usses flex: 1 for the size, could somebody explain how this…
Ted pottel
  • 6,869
  • 21
  • 75
  • 134
1 2
3
13 14