+ mounted: function() {
+ // timeout to avoid calling too many time the adjust method
+ let timeoutLaunched = false;
+ window.addEventListener("resize", (e) => {
+ if (!timeoutLaunched)
+ {
+ timeoutLaunched = true;
+ setTimeout( () => {
+ this.showCadence = window.innerWidth >= 425; //TODO: arbitrary
+ timeoutLaunched = false;
+ }, 500);
+ }
+ });
+ },