mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-18 19:31:35 +02:00
Add bs
in data attributes
- Add `bs` in data APIs everywhere - Update unit tests
This commit is contained in:
@@ -641,7 +641,7 @@ describe('ScrollSpy', () => {
|
||||
|
||||
describe('event handler', () => {
|
||||
it('should create scrollspy on window load event', () => {
|
||||
fixtureEl.innerHTML = '<div data-spy="scroll"></div>'
|
||||
fixtureEl.innerHTML = '<div data-bs-spy="scroll"></div>'
|
||||
|
||||
const scrollSpyEl = fixtureEl.querySelector('div')
|
||||
|
||||
|
Reference in New Issue
Block a user