- Created complete documentation in docs/ directory - Added PROJECT_OVERVIEW.md with feature highlights and getting started guide - Added ARCHITECTURE.md with system design and technical details - Added SECURITY.md with comprehensive security implementation guide - Added DEVELOPMENT.md with development workflows and best practices - Added DEPLOYMENT.md with production deployment instructions - Added API.md with complete REST API documentation - Added CONTRIBUTING.md with contribution guidelines - Added CHANGELOG.md with version history and migration notes - Reorganized all documentation files into docs/ directory for better organization - Updated README.md with proper documentation links and quick navigation - Enhanced project structure with professional documentation standards
16 lines
568 B
JavaScript
16 lines
568 B
JavaScript
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)
|
|
});
|
|
} |