@vredevol getDom() MUST return AT LEAST an htmlElement add return document.createElement(‘div’) see my sample module https://github.com/sdetweil/SampleModule