Comments (3)
Sounds like an interesting idea, but shouldn't this be managed through css. External stylesheets are more performance effective then inline styles.
from angular-swiper.
"swiper-button-white" is an exisitng css class in the swiper.css https://github.com/nolimits4web/Swiper/blob/master/dist/css/swiper.css.
from angular-swiper.
+1 for this, mostly because I tried to specify a custom (existing element) using the override-parameters
attribute like this:
<ks-swiper-container class="my-slider" pagination-is-active="true" show-nav-buttons="true" override-parameters="{'nextButton': 'my-slider__button--next', 'prevButton': 'my-slider__button--prev'}">
override-parameters="{'nextButton': 'my-slider__button--next', 'prevButton': 'my-slider__button--prev'}"
... Slides ...
</ks-swiper-container>
However this didn't work, it seems if you try and override the next and prev Button selectors the next and previous buttons no longer work at all.
If we could specify a custom class via an attribute we wouldn't need to use override-parameters to specify a custom element (maybe this is just hacking around the actual issue though...)
from angular-swiper.
Related Issues (20)
- Used Swipe fix for ng-repeat, now it always loads to the last slide HOT 1
- Can't pass slides-per-view auto param HOT 1
- Responsive slider HOT 1
- Can't apply changes when I add or remove slides from array HOT 3
- how to stop autoplay? HOT 1
- Breakpoints Issue HOT 1
- Lazy loading images HOT 2
- Parallax example
- Thumbs Gallery With Two-way Control HOT 1
- Zoom
- How to modify bullet HOT 1
- Slide with ng-if or ng-show HOT 1
- Issue with build production for angular 4 HOT 2
- Swiper 4.x support HOT 1
- Angular swiper does not work without browser resize HOT 3
- Duplicate slides are not rendered by Angular
- Autoplay stops on interaction HOT 1
- Minified files and injecting depencies
- Angular Thumbs Gallery
- RTL Compliance on the Slides
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-swiper.