mirror of
https://github.com/we-promise/sure.git
synced 2026-04-07 22:34:47 +00:00
* chore: add formatting and linting for javascript code relates to #1295 * use spaces instaed * add to recommended extensions * only enforce lint * auto save
9 lines
187 B
JavaScript
9 lines
187 B
JavaScript
import { Controller } from "@hotwired/stimulus";
|
|
|
|
// Connects to data-controller="element-removal"
|
|
export default class extends Controller {
|
|
remove() {
|
|
this.element.remove();
|
|
}
|
|
}
|