Index ¦ Archives  ¦ Atom  ¦ RSS > Tag: mixin ¦ RSS

Enyo - JustType-ish Functionality

Thu 20 October 2011

Yet again, here's another bit of Enyo goodness. Inspired by Preware, I really love it when an app accepts keyboard input straight off the bat. I don't have to click anything, I can just start typing and it knows what I want to do. That's what JustType is on the OS level, but apps should have that too. If you're an app catalog like Preware, why is someone typing other than to search globally. If you're an app with any sort of content, they're probably searching.

This is another mixin, which means it requires the latest patch to enyo's mixin functionality. Once you have that, just copy-paste the code below and attach it to your main kind (the one referenced in index.html) by adding in the mixins: attribute and setting justtype: to the name of the search field to use. Once you do that, all keypresses that aren't already focused will go to that justtype: field if it's showing.

Continue reading →


Enyo - Improved Mixins [Updated]

Thu 29 September 2011

I've sent in a patch for slightly enhanced mixin support for Enyo, but since I have another post depending on that support I'll post the patch here until it gets included.

This patch mainly provides the ability to have mixins that handle events and allows them to join with kinds …

Continue reading →


Enyo - Enterable Inputs

Sun 25 September 2011

I've noticed that there's no "submit" button feature in WebOS Inputs like there are in normal web forms. If you have a input type="submit" in your form, pressing Enter in any form input will automatically press that button because that makes sense.

However, in WebOS there is no such …

Continue reading →

© Fahrzin Hemmati. Built using Pelican. Theme by Giulio Fidente on github.