mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 14:42:32 -05:00
remove native-header element
This commit is contained in:
1 parent
bde8097288
commit
3f6cdcd15b
3 files changed
+1
-18
No files matched your search
@@ -1,14 +0,0 @@
|
||||
export default class extends HTMLElement {
|
||||
connectedCallback () {
|
||||
window.webkit?.messageHandlers?.native?.postMessage({
|
||||
type: 'header',
|
||||
op: 'add',
|
||||
title: this.dataset.label || this.querySelector('h1')?.textContent?.trim() || '',
|
||||
search: 'search' in this.dataset
|
||||
})
|
||||
}
|
||||
|
||||
disconnectedCallback () {
|
||||
window.webkit?.messageHandlers?.native?.postMessage({ type: 'header', op: 'remove' })
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user