Answer the question
In order to leave comments, you need to log in
How to work with enyo?
Hello! people help me figure out how to work with the ENYO framework. I read and read and did not understand anything! Take this piece of code as an example. Please explain what's going on here? What does (components, kind) do?
enyo.kind({
name: "flickr.MainView",
classes: "moon enyo-fit",
components: [
{kind: "moon.Panels", classes: "enyo-fit", pattern: "alwaysviewing", popOnBack: true, components: [
{kind: "moon.Panel", title: "First Panel"}
]}
]
});
Answer the question
In order to leave comments, you need to log in
1. create an enyo object ;
2. give the created object a name
3. set the wrapper class
4. describe the content of the component
(I made these conclusions after watching the demo)
But my experience tells me: in order to start navigating the framework, you should get acquainted with the documentation.
enyojs.com/docs/latest/developer-guide
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question