Skip to content

Commit

Permalink
Implement Widget.clear().
Browse files Browse the repository at this point in the history
Issue #130.

␄
  • Loading branch information
Mike Castle committed Oct 28, 2023
1 parent 2141ae4 commit 8740080
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions linkedin-tool.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -1253,6 +1253,11 @@
return this.#name;
}

/** Clears the container element. */
clear() {
this.#container.innerHTML = '';
}

#container
#id
#logger
Expand Down

0 comments on commit 8740080

Please sign in to comment.