Skip to content

Commit

Permalink
feat(components): added "resizeObserver" boolean option/prop to enabl…
Browse files Browse the repository at this point in the history
…e ResizeObserver

Ref #4244
  • Loading branch information
nolimits4web committed Feb 23, 2021
1 parent 5f80052 commit f03ffbb
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/angular/src/swiper.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export class SwiperComponent implements OnInit {
@Input() speed: SwiperOptions['speed'];
@Input() cssMode: SwiperOptions['cssMode'];
@Input() updateOnWindowResize: SwiperOptions['updateOnWindowResize'];
@Input() resizeObserver: SwiperOptions['resizeObserver'];
@Input() nested: SwiperOptions['nested'];
@Input() width: SwiperOptions['width'];
@Input() height: SwiperOptions['height'];
Expand Down
1 change: 1 addition & 0 deletions src/angular/src/utils/params-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export const paramsList = [
'_speed',
'cssMode',
'updateOnWindowResize',
'resizeObserver',
'nested',
'_width',
'_height',
Expand Down
1 change: 1 addition & 0 deletions src/react/params-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const paramsList = [
'_speed',
'cssMode',
'updateOnWindowResize',
'resizeObserver',
'nested',
'_width',
'_height',
Expand Down
1 change: 1 addition & 0 deletions src/svelte/params-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const paramsList = [
'_speed',
'cssMode',
'updateOnWindowResize',
'resizeObserver',
'nested',
'_width',
'_height',
Expand Down
1 change: 1 addition & 0 deletions src/vue/params-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const paramsList = [
'_speed',
'cssMode',
'updateOnWindowResize',
'resizeObserver',
'nested',
'_width',
'_height',
Expand Down
1 change: 1 addition & 0 deletions src/vue/swiper.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const Swiper = {
speed: { type: Number, default: undefined },
cssMode: { type: Boolean, default: undefined },
updateOnWindowResize: { type: Boolean, default: undefined },
resizeObserver: { type: Boolean, default: undefined },
nested: { type: Boolean, default: undefined },
width: { type: Number, default: undefined },
height: { type: Number, default: undefined },
Expand Down

0 comments on commit f03ffbb

Please sign in to comment.