How to use the core.addChild function in core

To help you get started, we’ve selected a few core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mcongrove / ChariTi / app / controllers / settings.js View on Github external
$.terms.addEventListener("click", function(_event) {
	APP.log("debug", "settings @terms");

	APP.addChild("settings_legal", {
		title: "Terms of Service",
		url: APP.LEGAL.TOS
	}, true);
});
github mcongrove / ChariTi / app / controllers / event_event.js View on Github external
down: function(_event) {
			APP.log("debug", "event_event @next");

			APP.addChild("event_event", {
				id: ACTION.next.id,
				index: CONFIG.index
			}, false, true);
		},
		up: function(_event) {
github mcongrove / ChariTi / app / controllers / facebook_article.js View on Github external
down: function(_event) {
			APP.log("debug", "facebook_article @next");

			APP.addChild("facebook_article", {
				id: ACTION.next.id,
				index: CONFIG.index
			}, false, true);
		},
		up: function(_event) {
github mcongrove / ChariTi / app / controllers / podcast_podcast.js View on Github external
$.handlePrevious = function(_event) {
	APP.log("debug", "podcast_podcast @previous");

	if(ACTION.previous) {
		$.streamStop();

		APP.addChild("podcast_podcast", {
			id: ACTION.previous.id,
			index: CONFIG.index
		}, false, true);
	}
};
github mcongrove / ChariTi / app / controllers / menu.js View on Github external
$.container.addEventListener("click", function(_event) {
	APP.addChild(_event.row.rowData.type, _event.row.rowData);
});

core

Core Libs

Unknown
Latest version published 6 years ago

Package Health Score

34 / 100
Full package analysis

Popular core functions