Comments (6)
as of now the charms should manage multiple div, but some work needs to be done. I can get to work on it.
from bootmetro.
Only slightly related, how can I programatically slide through the pivot control? I'm envisioning something where clicking on a link in the charms panel slides through the pivot.
from bootmetro.
you can pass as argument the index of the pivot panel to display:
$('#pivot').pivot(2); // go to the 3rd pane
remember that the index is zero based!
you can also use:
$('#pivot').pivot('next'); // go to the next
$('#pivot').pivot('prev'); //go to the previous
This will be documented in the pivot.html.
from bootmetro.
Ah-ha! I figured it out. If you pass the same int
into pivot
two times in a row (or the user hits the same link twice by mistake), the pivot
method stops responding. You can force this to happen by doing this:
$("#pivot").pivot(1).pivot(1).pivot(0);
You will see it does not go back to index 0 after going to index 1 twice. The demo does it too if you click on "item 2" twice and then try going back to "item 1".
from bootmetro.
The pivot plugin is atmost the same of the bootstrap carousel plugin, and this issue is this one: twbs/bootstrap#4205
I think that I should find time to rewrite it....
from bootmetro.
Show I should not try coding up a "safe" pivot function that ignores the request when destination.hasClass("active") == true
?
from bootmetro.
Related Issues (20)
- Your online demo links are broken HOT 2
- PIVOT - Documentation is not correct. HOT 1
- Icons are not showing proper items HOT 2
- Suggestion: create a css definition like "class="bs-docs-section-header""
- Win-Commands labels with IE9
- Is the project cloased? HOT 2
- bootmetro HOT 4
- boot metro-master HOT 1
- Add support for pivot item change
- Some demo page links are dead (in the official site)
- bootmetro in a real project HOT 2
- RTL
- Scrolling in the Hub (panorama) takes long time to respond
- Charms Not Working
- Dead links in "Wikipedia Featured" dropdown HOT 2
- Modal box validation error
- does this support live tile? HOT 1
- Vertical scrolling panorama
- Missing Base Template
- How Can I center Tiles?
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 bootmetro.