mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 11:32:38 +02:00
chore: remove unused L.DomUtil.createLink method
This commit is contained in:
parent
92d5c47844
commit
49496348d2
1 changed files with 0 additions and 12 deletions
|
@ -65,18 +65,6 @@ L.DomUtil.createButton = (className, container, content, callback, context) => {
|
|||
return el
|
||||
}
|
||||
|
||||
L.DomUtil.createLink = (className, container, content, url, target, title) => {
|
||||
const el = L.DomUtil.add('a', className, container, content)
|
||||
el.href = url
|
||||
if (target) {
|
||||
el.target = target
|
||||
}
|
||||
if (title) {
|
||||
el.title = title
|
||||
}
|
||||
return el
|
||||
}
|
||||
|
||||
L.DomUtil.createIcon = (parent, className, title, size = 16) => {
|
||||
return L.DomUtil.element({
|
||||
tagName: 'i',
|
||||
|
|
Loading…
Reference in a new issue