Enyo Developer Guide Bootplate: with Enyo in 5 Minutes · Planning and Structuring Your App · Tutorial: Building a Moonstone App. Enyo Essentials. As an Enyo developer, you have a great deal of freedom in choosing the platform . If you haven’t already done so, read through the Moonstone App Tutorial. This tutorial is geared for those already know the basic . Hope this tutorial helps in setting up the environment right for enyo development.

Author: Dugul Bataur
Country: Guadeloupe
Language: English (Spanish)
Genre: Personal Growth
Published (Last): 25 June 2008
Pages: 441
PDF File Size: 15.72 Mb
ePub File Size: 17.91 Mb
ISBN: 769-7-87280-422-2
Downloads: 49521
Price: Free* [*Free Regsitration Required]
Uploader: Gull

The applyStyle method applies a CSS style to the particular component. Inaccurate or wrong information. The Onyx component set is designed with mobiles and tablets in mind.

EnyoJS Tutorial #1 – Getting Started

As a simple example, user may combine a text area, a submit button and a clear button into a search component. The RotateComponent has two subcomponents, an image, which is named as “logo” and a button with a label set to “Rotate”.

To use this sample in application user has to know how to setup an enyo framework. Sample Application This article explains a sample application that can ‘rotate’ and ‘skew’ an image.

Was this document helpful? Please let us know what you think. Components can also be combined together to create more complex components. The next immediate change to be made is to convert all the normal buttons to Onyx buttons and also replace the “img” tag with an “enyo. Tizen Tizen Tizen 3. This is as simple as adding a “classes” property to the “App” and setting that to “onyx”.


Now divide the “Rotate” button into two, one for clockwise rotation and the other for counter clockwise rotation. Published Property Enyo will create ‘getters’ and ‘setters’ for the properties defined in “Published” section of the code.

The above code has a published property called ‘rotation’ which is initially set to ‘0’ and will store the rotation applied to the image in the component. Below is the final code with proper layout enyo.

This article explains a sample application that can ‘rotate’ and ‘skew’ an image.

Like with FittableRows one of these columns can have fit set to true and that column will expand to take up available space. Why was this tuutorial not helpful? To reduce the complexity in the app remove the app that included the “RotateComponent” and rename the RotateComponent enho “App”. Below is the code for rotating and skewing the image. The first thing user has to do for using the ‘Onyx’ components is to add the “onyx” class to the application.

Below is the code for the ‘rotationChanged’ method. These two combined can be used to create complex flexible layouts for applications.

In this case it will be able to engo out when the rotation enuo changed, and update the component accordingly. Here eny “onclick” property is set to ‘rotate’, which is the name of a method.

After extracting, copy “enyo”, “lib”, “source” folders into “Tizen workspace”. User Menu Login Register. In this application “layoutKind” property of a control is used to apply proper layout to the application. The advantage of this is that it disables the ability to drag the image, which is important for touch interfaces.

This effectively makes the component itself the app. Enyo provides a number of ways to define the layout of applications, two important components for layouts are FittableRows and FittableColumns. FittableRows allows user to place content in rows, on one of these rows user can set the fit property to true which will give it a variable height that will expand as the page is resized.


Too difficult to understand. It is object-oriented and uses object-oriented concepts such as encapsulation to create tutoriak code. Replace the content of ‘index.

Apply proper layout to the app. Enyo ento First download “enyo” from enyo website and extract the zip folder. To know how the image will rotate, user has to know about Published property. FittableColumns allows user to place content in columns. Now create a method called “rotationChanged”, and Enyo will automatically call it when ‘rotation’ value is changed via ‘setRotation’.

So in the above case, Enyo will automatically create the methods ‘setRotation’ and ‘getRotation’ on the object. First download “enyo” from enyo website and extract the zip folder. In this method this. Enyo also offers a library of components tuyorial layout.

Onyx extends and improves the library of components available for Enyo by adding additional features and styling. Below is the code for rotating and ento the image enyo.

EnyoJS Tutorial #1 – Getting Started | Is Good Stuff

And also add two buttons for “skewing” the image. In the above code ‘this. We value your feedback.