Welcome to the X-Tag developer hub. You'll find comprehensive guides and documentation to help you create Web Components with X-Tag.
Documentation Core Core + Polyfillxtag.register('x-clock', { lifecycle: { created: function(){ setInterval(function(){ this.textContent = new Date().toLocaleTimeString(); }.bind(this), 1000); } } });