How to use the delite/popup.close 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 / deliteful / tests / unit / list / PageableList.js View on Github external
list.placeAt(document.body);

				popup.open({
					popup: list,
					x: 50,
					y: 50
				});

				try {
					list.deliver();
					assert(list.offsetWidth > 50, "list.offsetWidth === " + list.offsetWidth);
					assert(list.querySelector("d-list-category-renderer").offsetWidth > 0, "d-list-category-renderer");
					assert(list.querySelector("d-list-item-renderer").offsetWidth > 0, "d-list-item-renderer");
					assert(list.querySelector("d-list-loader[d-shown='true']").offsetWidth > 0, "d-list-loader");
				} finally {
					popup.close(list);
				}
			},

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