Initial release
Some checks failed
My Build All / build_windows (push) Has been cancelled
My Build All / build_linux_portable (push) Has been cancelled
My Build All / build_linux_appimage (push) Has been cancelled
My Build All / build_macos (push) Has been cancelled
My Build All / Publish release assets (push) Has been cancelled
Shellcheck / Shellcheck (push) Has been cancelled
Some checks failed
My Build All / build_windows (push) Has been cancelled
My Build All / build_linux_portable (push) Has been cancelled
My Build All / build_linux_appimage (push) Has been cancelled
My Build All / build_macos (push) Has been cancelled
My Build All / Publish release assets (push) Has been cancelled
Shellcheck / Shellcheck (push) Has been cancelled
This commit is contained in:
commit
c661ddc2eb
16967 changed files with 4075897 additions and 0 deletions
|
|
@ -0,0 +1,16 @@
|
|||
import appendSlide from './methods/appendSlide.js';
|
||||
import prependSlide from './methods/prependSlide.js';
|
||||
import addSlide from './methods/addSlide.js';
|
||||
import removeSlide from './methods/removeSlide.js';
|
||||
import removeAllSlides from './methods/removeAllSlides.js';
|
||||
export default function Manipulation({
|
||||
swiper
|
||||
}) {
|
||||
Object.assign(swiper, {
|
||||
appendSlide: appendSlide.bind(swiper),
|
||||
prependSlide: prependSlide.bind(swiper),
|
||||
addSlide: addSlide.bind(swiper),
|
||||
removeSlide: removeSlide.bind(swiper),
|
||||
removeAllSlides: removeAllSlides.bind(swiper)
|
||||
});
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue