Sha256: d9cd67bef1d1e61799b6df20083aa31d3163b887d1c03ab2a160e21387549599

Contents?: true

Size: 284 Bytes

Versions: 2

Compression:

Stored size: 284 Bytes

Contents

import { Controller } from "@hotwired/stimulus"

export default class extends Controller {

  static targets = ['searchBarInput']

  showSearchBar(event) {
    this.searchBarInputTarget.hidden = false
  }

  hideSearchBar(event) {
    this.searchBarInputTarget.hidden = true
  }
  
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
refine-rails-2.11.12 app/javascript/controllers/refine/inline-advanced-modal-controller.js
refine-rails-2.11.11 app/javascript/controllers/refine/inline-advanced-modal-controller.js