.plugins.atlassian-clientside-extensions-demo.3.0.0-m01-5ba70bd-lt2pg0b9.source-code.my-web-page-with-resource-a.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of atlassian-clientside-extensions-demo Show documentation
Show all versions of atlassian-clientside-extensions-demo Show documentation
Demonstrates how product developers and plugin developers can make use of the Client-side Extensions APIs.
/* eslint-env amd */
/* eslint-disable import/no-dynamic-require, import/no-amd, node/no-missing-require */
require(['@atlassian/clientside-extensions-page-bootstrapper', 'cse-web-page-demo-module-b', 'cse-web-page-demo-module-c'], function module(
pageBootstrapper,
moduleB,
moduleC,
) {
function pageFactory() {
return {
type: 'page',
onAction(node) {
node.innerHTML = `Page with multiple web-resources
- ${moduleB}
- ${moduleC}
`;
},
};
}
pageBootstrapper.registerPage(
'com.atlassian.plugins.atlassian-clientside-extensions-demo:myWebPageWithMultipleWebResources',
pageFactory,
);
});
© 2015 - 2025 Weber Informatics LLC | Privacy Policy