! el.hasAttribute('disabled'))
},
firstFocusable() { return this.focusables()[0] },
lastFocusable() { return this.focusables().slice(-1)[0] },
nextFocusable() { return this.focusables()[this.nextFocusableIndex()] || this.firstFocusable() },
prevFocusable() { return this.focusables()[this.prevFocusableIndex()] || this.lastFocusable() },
nextFocusableIndex() { return (this.focusables().indexOf(document.activeElement) + 1) % (this.focusables().length + 1) },
prevFocusableIndex() { return Math.max(0, this.focusables().indexOf(document.activeElement)) -1 },
}" x-init="$watch('show', value => {
if (value) {
document.body.classList.add('overflow-y-hidden');
} else {
document.body.classList.remove('overflow-y-hidden');
}
})" x-on:close.stop="show = false" x-on:keydown.escape.window="show = false" x-on:keydown.tab.prevent="$event.shiftKey || nextFocusable().focus()" x-on:keydown.shift.tab.prevent="prevFocusable().focus()" x-show="show" id="c21fbeed09802cb39903bf5e93364ec6" class="jetstream-modal fixed inset-0 overflow-y-auto px-4 py-6 sm:px-0 z-50" style="display: none;">
! el.hasAttribute('disabled'))
},
firstFocusable() { return this.focusables()[0] },
lastFocusable() { return this.focusables().slice(-1)[0] },
nextFocusable() { return this.focusables()[this.nextFocusableIndex()] || this.firstFocusable() },
prevFocusable() { return this.focusables()[this.prevFocusableIndex()] || this.lastFocusable() },
nextFocusableIndex() { return (this.focusables().indexOf(document.activeElement) + 1) % (this.focusables().length + 1) },
prevFocusableIndex() { return Math.max(0, this.focusables().indexOf(document.activeElement)) -1 },
}" x-init="$watch('show', value => {
if (value) {
document.body.classList.add('overflow-y-hidden');
} else {
document.body.classList.remove('overflow-y-hidden');
}
})" x-on:close.stop="show = false" x-on:keydown.escape.window="show = false" x-on:keydown.tab.prevent="$event.shiftKey || nextFocusable().focus()" x-on:keydown.shift.tab.prevent="prevFocusable().focus()" x-show="show" id="c81b1fb7efe07b3f0822f8b5014bc076" class="jetstream-modal fixed inset-0 overflow-y-auto px-4 py-6 sm:px-0 z-50" style="display: none;">
标题:《裂痛无声:一段关于心灵成长的旅程》 正文: 那是一个平凡的夏日午后,阳光透过窗帘的缝隙,洒在我的脸上,带来一丝温暖。我坐在书房的,手中紧握...
考生们接到录取通知书后,就成为了准大学生,时间过得飞快,开学的日子一天天临近,大一新生们都会提前几天,和父母讨论需要带的物品,新生和家长都...
黉舍停电班长插班花我把数学课代表给干了:记得在初中的时候,有一次学校停电,班上很多同窗就很欢快在班上大吵大闹,班长这时候候候就特别爷们...
高考的后一个月流产高峰,可能是由于胚胎发育异常、药物因素、环境因素、情绪因素等所引起。建议及时前往医院的妇产科就诊,在医生的指导下进行...
【紫薇】一张北京户口 死了,我必定要成为一个“北京人” 拿着北京户口,砸在那些看不起人的脸上! 她忿忿的说。 多年今后,一个湖...