refactor: link jsdocs to webcomponent.io docs
This commit is contained in:
parent
f9f839ed6c
commit
4b274e1e99
1 changed files with 3 additions and 4 deletions
|
|
@ -13,7 +13,7 @@ import {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A minimal base class to reduce the complexity of creating reactive custom elements
|
* A minimal base class to reduce the complexity of creating reactive custom elements
|
||||||
* @see https://WebComponent.io
|
* @see https://webcomponent.io
|
||||||
*/
|
*/
|
||||||
export class WebComponent extends HTMLElement {
|
export class WebComponent extends HTMLElement {
|
||||||
#host
|
#host
|
||||||
|
|
@ -34,7 +34,7 @@ export class WebComponent extends HTMLElement {
|
||||||
/**
|
/**
|
||||||
* Read-only string property that represents how the component will be rendered
|
* Read-only string property that represents how the component will be rendered
|
||||||
* @returns {string | any}
|
* @returns {string | any}
|
||||||
* @see https://www.npmjs.com/package/web-component-base#template-vs-render
|
* @see https://webcomponent.io/template-vs-render/
|
||||||
*/
|
*/
|
||||||
get template() {
|
get template() {
|
||||||
return ''
|
return ''
|
||||||
|
|
@ -48,8 +48,7 @@ export class WebComponent extends HTMLElement {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Read-only property containing camelCase counterparts of observed attributes.
|
* Read-only property containing camelCase counterparts of observed attributes.
|
||||||
* @see https://www.npmjs.com/package/web-component-base#prop-access
|
* @see https://webcomponent.io/prop-access/
|
||||||
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dataset
|
|
||||||
* @type {PropStringMap}
|
* @type {PropStringMap}
|
||||||
*/
|
*/
|
||||||
get props() {
|
get props() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue