All Downloads are FREE. Search and download functionalities are using the official Maven repository.

.plugins.atlassian-clientside-extensions-demo.3.0.0-m01-5ba70bd-lt2pg0b9.source-code.demo-web-page-extension.js Maven / Gradle / Ivy

Go to download

Demonstrates how product developers and plugin developers can make use of the Client-side Extensions APIs.

There is a newer version: 4.0.0-jakarta-m001-6cdaaa6-m5gf9rqt
Show newest version
/* eslint-env amd */
/* eslint-disable import/no-dynamic-require, import/no-amd, node/no-missing-require */
require(['@atlassian/clientside-extensions-page-bootstrapper'], function demoWebPageExtension(pageBootstrapper) {
    function pageFactory() {
        return {
            type: 'page',
            onAction(node) {
                node.innerHTML = 'Hi there!';
            },
        };
    }

    pageBootstrapper.registerPage('com.atlassian.plugins.atlassian-clientside-extensions-demo:myExtensionKey', pageFactory);
});




© 2015 - 2025 Weber Informatics LLC | Privacy Policy