Sha256: b19c974c8f58f25945dff55e000a5e6726a1784bd56c366727a6705fea36af22

Contents?: true

Size: 136 Bytes

Versions: 44

Compression:

Stored size: 136 Bytes

Contents

import { Controller } from "@hotwired/stimulus"

export default class extends Controller {
  remove() {
    this.element.remove()
  }
}

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
css-zero-0.0.68 lib/generators/css_zero/add/templates/app/javascript/controllers/element_removal_controller.js
css-zero-0.0.67 lib/generators/css_zero/add/templates/app/javascript/controllers/element_removal_controller.js
css-zero-0.0.66 lib/generators/css_zero/add/templates/app/javascript/controllers/element_removal_controller.js
css-zero-0.0.65 lib/generators/css_zero/add/templates/app/javascript/controllers/element_removal_controller.js
css-zero-0.0.64 lib/generators/css_zero/add/templates/app/javascript/controllers/element_removal_controller.js
css-zero-0.0.63 lib/generators/css_zero/add/templates/app/javascript/controllers/element_removal_controller.js
css-zero-0.0.62 lib/generators/css_zero/add/templates/app/javascript/controllers/element_removal_controller.js
css-zero-0.0.61 lib/generators/css_zero/add/templates/app/javascript/controllers/element_removal_controller.js
css-zero-0.0.60 lib/generators/css_zero/add/templates/app/javascript/controllers/element_removal_controller.js
css-zero-0.0.59 lib/generators/css_zero/add/templates/app/javascript/controllers/element_removal_controller.js
css-zero-0.0.58 lib/generators/css_zero/add/templates/app/javascript/controllers/element_removal_controller.js
css-zero-0.0.57 lib/generators/css_zero/add/templates/app/javascript/controllers/element_removal_controller.js
css-zero-0.0.56 lib/generators/css_zero/add/templates/app/javascript/controllers/element_removal_controller.js
css-zero-0.0.55 lib/generators/css_zero/add/templates/app/javascript/controllers/element_removal_controller.js
css-zero-0.0.54 lib/generators/css_zero/add/templates/app/javascript/controllers/element_removal_controller.js
css-zero-0.0.53 lib/generators/css_zero/add/templates/app/javascript/controllers/element_removal_controller.js
css-zero-0.0.52 lib/generators/css_zero/add/templates/app/javascript/controllers/element_removal_controller.js
css-zero-0.0.51 lib/generators/css_zero/add/templates/app/javascript/controllers/element_removal_controller.js
css-zero-0.0.50 lib/generators/css_zero/add/templates/app/javascript/controllers/element_removal_controller.js
css-zero-0.0.49 lib/generators/css_zero/add/templates/app/javascript/controllers/element_removal_controller.js