lit.dev
lit.dev copied to clipboard
add window for consistency
In the description of disconnectedCallback, window.removeEventListener is used. However, the prefix window. is omitted in the connectedCallback description. To improve consistency between the two sample codes, window. has been added to the connectedCallback description.