/source/Welcome.js
enyo.kind({
name: "Welcome",
kind: "Listing",
title: "Blërg",
components: [
{tag: 'h2', content: "Welcome to Blërg!"},
{kind: "Scroller", classes: "listing-content", components: [
{kind: "onyx.Button", classes: "onyx-affirmative vertical-button", content: "Create an account"},
{kind: "onyx.Button", classes: "vertical-button", content: "Log In"},
{kind: "onyx.Button", classes: "vertical-button", content: "Listing", ontap: "showListing"},
]}
],
showListing: function() {
this.bubble('onNavigate', {kind: "UserListing", user: "bytex64"});
}
});