customElements.define('word-count', WordCount, { extends: 'p' });
使用 custom elements - Web Components | MDN
=====
视乎as的客户端更加贴近面向对象和java极度相似
=====
customElements.define('word-count', WordCount, { extends: 'p' });
使用 custom elements - Web Components | MDN
=====
视乎as的客户端更加贴近面向对象和java极度相似
=====