8000 Update form-spinbutton.js · bootstrap-vue/bootstrap-vue@3d6b935 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 3d6b935

Browse files
committed
Update form-spinbutton.js
1 parent 852eb71 commit 3d6b935

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/components/form-spinbutton/form-spinbutton.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import {
1717
CODE_UP,
1818
CODE_PAGEDOWN
1919
} from '../../constants/key-codes'
20+
import { SLOT_NAME_DECREMENT, SLOT_NAME_INCREMENT } from '../../constants/slots'
2021
import { arrayIncludes, concat } from '../../utils/array'
2122
import { attemptBlur, attemptFocus } from '../../utils/dom'
2223
import { eventOnOff, stopEvent } from '../../utils/events'
@@ -493,7 +494,7 @@ export const BFormSpinbutton = /*#__PURE__*/ Vue.extend({
493494
'inc',
494495
'ArrowUp',
495496
false,
496-
'increment'
497+
SLOT_NAME_INCREMENT
497498
)
498499
const $decrement = makeButton(
499500
this.stepDown,
@@ -502,7 +503,7 @@ export const BFormSpinbutton = /*#__PURE__*/ Vue.extend({
502503
'dec',
503504
'ArrowDown',
504505
false,
505-
'decrement'
506+
SLOT_NAME_DECREMENT
506507
)
507508

508509
let $hidden = h()

0 commit comments

Comments
 (0)
0