script47 / bs5-utils Goto Github PK
View Code? Open in Web Editor NEWA JavaScript utility package for Bootstrap 5 components.
Home Page: https://jsfiddle.net/172ymoj6/
License: MIT License
A JavaScript utility package for Bootstrap 5 components.
Home Page: https://jsfiddle.net/172ymoj6/
License: MIT License
how do i use it with webpack?
window.bootstrap = require('bootstrap')
// 1
Bs5Utils = require('bs5-utils');
bs5Utils = new Bs5Utils()
// Bs5Utils is an empty object, thus giving TypeError: Bs5Utils is not a constructor.
I've tried several ways including import but I cant get it to work.
Can archive this adding a default parameter to set a custom class in the first
#createToastContainer
and in modal.classList.add('modal')
This was released just in time I need it. :)
For now it is for a private project, but we would love to use it in mailcow when we finally migrate to BS5.
Hi,
As stated in the title. Is that possible? :-)
I can't create a "standard" modal (like the ones in boostrap doc) because in modal-header we have border-0
and style.main
and in modal-footer style.border
. This need to be empty for the standard layout
Maybe registering a new Style is possible to fix but i think is a function needed in default styles
I use bs5-utils with the dist/js in a script tag
With the last version i have some problem with other library...
this error popup loading a library after bs5-utils: module is not defined
With the previous version no problem. I can also fix this error putting bs5 tag last
Bs5utils has no licence. This means that legally, nobody is able to use it. I would recommend using the MIT license, as it is the same one Bootstrap itself uses and is very permissible.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.