Feature Proposal
Sprite definition is an array.
new Howl({
sprite: {
key1: [50, 100, true]
},
});
It should be a dictionary instead (or additionally):
new Howl({
sprite: {
key1: { offset: 50, duration: 100, loop: true }
},
});
This would enable IDE assistance and prevent wrong usage (like supplying an end-offset instead of the duration).
Possible Implementation
No response
Feature Proposal
Sprite definition is an array.
It should be a dictionary instead (or additionally):
This would enable IDE assistance and prevent wrong usage (like supplying an end-offset instead of the duration).
Possible Implementation
No response