Healthy Lifestyle & Emotional Wellbeing

This web page was created programmatically, to learn the article in its authentic location you’ll be able to go to the hyperlink bellow:
https://www.youngtype2.org/content/page/healthy-lifestyle-emotional-wellbeing
and if you wish to take away this text from our web site please contact us






Healthy Lifestyle & Emotional Wellbeing









Skip to main content

!el.hasAttribute(‘disabled’) && !el.getAttribute(‘aria-hidden’));

// Get all different focusable parts, excluding these already in inputEls
const otherEls = […$el.querySelectorAll(otherSelector)]
.filter(el =>
!el.hasAttribute(‘disabled’) &&
!el.getAttribute(‘aria-hidden’) &&
!inputEls.consists of(el)
);

// Combine, inputs targeted first
return […inputEls, …otherEls];
},
firstFocusable() { return this.focusables()[0] },
lastFocusable() { return this.focusables().slice(-1)[0] },
nextFocusable() ,
prevFocusable() this.lastFocusable() ,
nextFocusableIndex() { return (this.focusables().indexOf(doc.activeElement) + 1) % (this.focusables().size + 1) },
prevFocusableIndex() { return Math.max(0, this.focusables().indexOf(doc.activeElement)) -1 },
}”
x-init=”$watch(‘present’, worth => {
if (worth) {
doc.physique.classList.add(‘overflow-y-hidden’);
setTimeout(() => firstFocusable().focus(), 100)
} else {
doc.physique.classList.take away(‘overflow-y-hidden’);
}
})”
x-on:open-modal.window=”$event.detail == ‘search-modal’ ? show = true : null”
x-on:close-modal.window=”$event.detail == ‘search-modal’ ? show = false : null”
x-on:shut.cease=”show = false”
x-on:keydown.escape.window=”show = false”
x-on:keydown.tab.forestall=”$event.shiftKey || nextFocusable().focus()”
x-on:keydown.shift.tab.forestall=”prevFocusable().focus()”
x-show=”show”
class=”fixed inset-0 overflow-y-auto px-4 py-6 sm:px-0 z-50 flex flex-col justify-center”
fashion=”display: none;”

>



Welcome to our Healthy Lifestyle and Emotional Wellbeing web page

On this web page you can find a wide range of helpful sources to help your psychological well being, plus easy concepts for growing exercise and making wholesome life-style decisions. We hope you discover them helpful. If there are any points which are affecting you, then speak to your native diabetes group in order that they will help you get the suitable help.


This web page was created programmatically, to learn the article in its authentic location you’ll be able to go to the hyperlink bellow:
https://www.youngtype2.org/content/page/healthy-lifestyle-emotional-wellbeing
and if you wish to take away this text from our web site please contact us

Leave a Reply

Your email address will not be published. Required fields are marked *