mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-19 13:19:39 +02:00
* chore: add formatting and linting for javascript code relates to #1295 * use spaces instaed * add to recommended extensions * only enforce lint * auto save
8 lines
187 B
JavaScript
8 lines
187 B
JavaScript
import { Controller } from "@hotwired/stimulus";
|
|
|
|
// Connects to data-controller="element-removal"
|
|
export default class extends Controller {
|
|
remove() {
|
|
this.element.remove();
|
|
}
|
|
}
|