How to use the delite/popup._stack function in delite

To help you get started, we’ve selected a few delite 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 ibm-js / delite / tests / unit / HasDropDown.js View on Github external
destroy: function () {
			// setup
			dd = new SimpleDropDownButton({id: "dd2"}).placeAt(container);
			popup = dd.dropDown;
			assert.ok(!!popup, "popup exists");

			// open
			click(dd);
			assert.ok(helpers.isVisible(popup), "popup visible");
			assert.strictEqual(1, require("delite/popup")._stack.length, "in popup manager stack");

			// destroy
			dd.destroy();
			assert.strictEqual(0, require("delite/popup")._stack.length, "popup was closed");
		},

delite

core UI infrastructure for building multi channel, enterprise class Web Components to be used in Web & Mobile Hybrid applications

Unrecognized
Latest version published 2 years ago

Package Health Score

55 / 100
Full package analysis