mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-19 21:29:38 +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()
|
||
|
}
|
||
|
}
|
||
|
|