Hello World using the Extension API

To illustrate an underlying implementation of an extension using the Extension API, the following example will print a Hello World! HTML element on to the screen:

define( [
],
function ( ) {
        return {
                paint: function ($element, layout) {
                        $element.html( "Hello world! I learned how to write this using Mastering QS");
                }
        };
} );
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.137.181.34