Download the PHP package olleksi/flarum-swipe without Composer
On this page you can find all versions of the php package olleksi/flarum-swipe. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package flarum-swipe
Flarum Swipe Gestures
англійської я не знаю, цей опис робив ші, тож якщо там якась дурня написана - вибачайте. якщо коротко то це розширення яке дозволяє свайпом повертатись на попередню сторінку або відкрити меню.
A Flarum extension that adds intuitive swipe gestures for better mobile and desktop navigation.
Features
🔄 Swipe to Close Dropdowns
- Swipe down on any dropdown menu to close it
- Works on both mobile and desktop
- Smooth animations with visual feedback
- Adaptive corner radius animation
↔️ Navigation Swipes
- Swipe right: Go back to the previous page
- Swipe left (on homepage): Navigate to "All Discussions"
- Page transition animations with 3D effects
- Smart detection to avoid conflicts with UI elements
🎨 Visual Indicators
- Swipe indicator bar at the top of dropdowns
- Adaptive opacity during drag
- Color support for light and dark themes
- Accessibility-friendly design
Installation
- Download this extension
- Place it in your Flarum's
extensionsfolder asolleksi-swipe - Enable it in the admin panel
Or via Composer:
File Structure
How It Works
This extension is super simple - no compilation, no build process:
- Pure JavaScript (no frameworks needed)
- CSS file ready to use
- Just drop in and enable!
The extension automatically:
- Detects mobile vs desktop environments
- Adapts to screen sizes
- Respects user preferences (reduced motion, etc.)
- Avoids conflicts with scrollable areas
Customization
Adjusting Swipe Thresholds
Edit resources/swipe.js and change these values:
Styling
Override CSS in your theme:
Browser Compatibility
- ✅ Chrome/Edge 90+
- ✅ Firefox 88+
- ✅ Safari 14+
- ✅ Mobile browsers (iOS Safari, Chrome Mobile)
Troubleshooting
Swipes not working
- Make sure JavaScript is enabled
- Check browser console for errors
- Clear Flarum cache:
php flarum cache:clear - Verify the extension is enabled in admin panel
Conflicts with other extensions
- Check for overlapping gesture zones
- Try disabling other extensions temporarily
- Check browser console for JavaScript errors
All versions of flarum-swipe with dependencies
PHP Build Version
Package Version
Requires
flarum/core Version
^1.0
The package olleksi/flarum-swipe contains the following files
Loading the files please wait ...