A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/bootstrap-vue/bootstrap-vue/commit/6ed09f40ae1594c7ad96dedc8c3d7c2a54d4d9c7 below:

handle keyboard navigation when s… · bootstrap-vue/bootstrap-vue@6ed09f4 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+4

-0

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+4

-0

lines changed Original file line number Diff line number Diff line change

@@ -600,18 +600,22 @@ export const BCalendar = Vue.extend({

600 600

} else if (keyCode === LEFT) {

601 601

// LEFT - Previous day (or next day for RTL)

602 602

activeDate.setDate(day + (isRTL ? 1 : -1))

603 +

activeDate = this.constrainDate(activeDate)

603 604

checkDate = activeDate

604 605

} else if (keyCode === RIGHT) {

605 606

// RIGHT - Next day (or previous day for RTL)

606 607

activeDate.setDate(day + (isRTL ? -1 : 1))

608 +

activeDate = this.constrainDate(activeDate)

607 609

checkDate = activeDate

608 610

} else if (keyCode === UP) {

609 611

// UP - Previous week

610 612

activeDate.setDate(day - 7)

613 +

activeDate = this.constrainDate(activeDate)

611 614

checkDate = activeDate

612 615

} else if (keyCode === DOWN) {

613 616

// DOWN - Next week

614 617

activeDate.setDate(day + 7)

618 +

activeDate = this.constrainDate(activeDate)

615 619

checkDate = activeDate

616 620

} else if (keyCode === HOME) {

617 621

// HOME - Today

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4