Skip to content

Commit a18dacf

Browse files
committed
💎 Release new version v0.1.3
Signed-off-by: Jakub Juszczak <[email protected]>
1 parent 0d5f89c commit a18dacf

File tree

3 files changed

+20
-7
lines changed

3 files changed

+20
-7
lines changed

dist/vue-parallaxy.js

+18-5
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,22 @@ return /******/ (function(modules) { // webpackBootstrap
460460
default: 70,
461461
type: Number,
462462
required: false
463+
},
464+
sectionClass: {
465+
type: String,
466+
default: 'Masthead'
467+
},
468+
containerClass: {
469+
type: String,
470+
default: 'Masthead__image'
471+
},
472+
parallaxClass: {
473+
type: String,
474+
default: 'is-parallax'
475+
},
476+
fixedClass: {
477+
type: String,
478+
default: 'is-fixed'
463479
}
464480
},
465481

@@ -530,16 +546,13 @@ return /******/ (function(modules) { // webpackBootstrap
530546
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._c;
531547
return _c('section', {
532548
ref: "block",
533-
staticClass: "Masthead",
549+
class: [_vm.sectionClass],
534550
style: ({
535551
height: _vm.sectionHeight + 'vh'
536552
})
537553
}, [_c('div', {
538554
ref: "parallax",
539-
staticClass: "Masthead__image",
540-
class: {
541-
'is-parallax': _vm.parallax, 'is-fixed': _vm.fixed
542-
}
555+
class: [_vm.parallax ? _vm.parallaxClass : '', _vm.fixed ? _vm.fixedClass : '', _vm.containerClass]
543556
}, [_vm._t("default")], 2)])
544557
},staticRenderFns: []}
545558
module.exports.render._withStripped = true

dist/vue-parallaxy.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-parallaxy",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "Vue 2 component for parallax scrolling effects",
55
"author": "Jakub Juszczak <[email protected]>",
66
"repository": {

0 commit comments

Comments
 (0)