Comments (9)
It has been discussed before, this cannot work.
from bootstrap.native.
In my case, thouhg, I have to edit the content of the page using innerHTML (because I use templates).
Is there any workaround to make it work in this case?
from bootstrap.native.
There is no workaround, there's only the hard way, re-init the functions you need via
new Tooltip('selector');
and you are fine.
UPDATE: you should hook this on the page update or your event to add more items to the page.
from bootstrap.native.
Just in case someone wants to check it out too:
https://github.com/Aspie96/bootstrap.native.dynamic
from bootstrap.native.
@Aspie96 You're lib is really cool, thanks ! I had typically the problem of generating tabs dynamically and I did find any options to run them properly at runtime. This work properly without any modification of my code.
from bootstrap.native.
Thank you, mate!
As for the reasons NOT to use my library, read this:
#102 (comment)
I am not suggesting that you should not use it, of course (I shared it precisely so that you could use it), but I am saying that you should check that out first.
from bootstrap.native.
What do you mean, it renders the page slower ?
from bootstrap.native.
No, but the JavaScript runtime is much slower, and gets even slower the more elements you append to the document, a quick info on that here (I hope I didn't missclick the link)
from bootstrap.native.
Still, I am using my version on my own website and it works perfectly (and, of course, many many people use jQuery or other libraries), so it might be a completely fine solution from what you wanna do.
from bootstrap.native.
Related Issues (20)
- tab issues HOT 8
- getInstance behavior change between v4.1 and v4.2? HOT 4
- Popover positioning within sidebar with position fixed HOT 10
- types location needs to be fixed in package.json HOT 1
- dorpdown not support foreach
- Issues with closing a dropdown HOT 4
- offcanvas toggle bottom HOT 3
- BSN 5.0 comes with full Typescript source HOT 1
- Popover overflows bottom HOT 10
- Navbar with off-canvas drawer is hidden by backdrop HOT 5
- Popover button HOT 3
- Replace Bootstrap 4 HOT 1
- Where are the bootstrap 4 docs? HOT 1
- about source code HOT 5
- Dropdown menu closes instantly if user clickes on a span element inside the triggering button HOT 6
- exception when `isEmptyAnchor` called with SVG <use> tag HOT 6
- Bootstrap 4 to BSN migration HOT 2
- Should not import the named export 'version' HOT 2
- Modal close buttons not working when launching via instance.show() HOT 3
- How to enable tree shaking? HOT 11
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 bootstrap.native.