Sha256: 6fce8d38cf5732cd1cb413745ad3ef739f1a0d07d0bccb0795ab7a96d9870556

Contents?: true

Size: 210 Bytes

Versions: 6

Compression:

Stored size: 210 Bytes

Contents

var transition = require('../transition')

module.exports = function (value) {
  var el = this.el
  transition.apply(el, value ? 1 : -1, function () {
    el.style.display = value ? '' : 'none'
  }, this.vm)
}

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
statixite-1.0.2 vendor/assets/bower_components/vue/src/directives/show.js
statixite-1.0.1 vendor/assets/bower_components/vue/src/directives/show.js
statixite-1.0.0 vendor/assets/bower_components/vue/src/directives/show.js
plate-lang-0.1.2 skeleton/vendor/vue/src/directives/show.js
plate-lang-0.1.1 skeleton/vendor/vue/src/directives/show.js
plate-lang-0.1.0 skeleton/vendor/vue/src/directives/show.js