Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 729 Bytes

how-to-remove-created-line-in-anseki-leader-line.md

File metadata and controls

26 lines (18 loc) · 729 Bytes

How to remove created line in anseki/leader-line?

// plain

To remove a created line in anseki/leader-line, you can use the remove() method. This method will remove the line from the DOM and all associated event listeners.

Example code

let line = new LeaderLine(...);
line.remove();

Output example

undefined

The remove() method takes no arguments and returns undefined.

Helpful links

onelinerhub: How to remove created line in anseki/leader-line?