mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-20 13:49:39 +02:00
10 lines
186 B
JavaScript
10 lines
186 B
JavaScript
|
import { Controller } from '@hotwired/stimulus'
|
||
|
|
||
|
// Connects to data-controller="element-removal"
|
||
|
export default class extends Controller {
|
||
|
remove() {
|
||
|
this.element.remove()
|
||
|
}
|
||
|
}
|
||
|
|