vizuaalog / bulmajs-docs Goto Github PK
View Code? Open in Web Editor NEWBulmaJS Documentation
Home Page: https://bulmajs.tomerbe.co.uk
BulmaJS Documentation
Home Page: https://bulmajs.tomerbe.co.uk
Clicking the first 'toggle modal' button correctly opens the modal but also removes the button, which it shouldn't do.
The current documentation has examples of some features. However, having as many examples as possible for the various features would be ideal.
https://bulmajs.tomerbe.co.uk/docs/0.10/1-getting-started/2-installation/
import Navbar from '@vizuaalog/bulmajs/src/plugins/Navbar';
Should be
import Navbar from '@vizuaalog/bulmajs/src/plugins/navbar';
Is your feature request related to a problem? Please describe.
It seems like modals can be closed with the esc
key, but the same does not apply to alert.
I'm using alert as an alternative to window.confirm()
, and have found this to be unintuitive as compared to the native confirm
API.
Describe the solution you'd like
It would be great if alerts could also be closed by pressing the esc
key.
Additional context
Alerts are not always used as confirmation, so maybe adding an option like this would be more appropriate:
Alert.create({
title: 'Are you sure?',
body: 'Please confirm',
confirm: {
label: 'Yes',
close: true,
onClick: function() {...}
},
cancel: {
label: 'Cancel',
close: true,
escKey: true,
destroy: true
}
})
Versions
BulmaJS: Version used in documentation at: https://bulmajs.tomerbe.co.uk/docs/master/2-core-components/modal/
Browser: Opera Version:68.0.3618.173, Firefox version 77.0.1 (64-bit)
Operating system: Windows 10
Describe the bug
The developer console outputs the following error when attempting to show the modal in Example number 2:
Uncaught Error: A plugin requires a root and/or a parent. at Modal.Plugin (plugin.js:59) at new Modal (modal.js:72) at Function.Bulma.create (core.js:78) at HTMLButtonElement.<anonymous> ((index):249)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The example modal should be toggled
Currently, on some devices the version dropdown can look out of place. Replace it with a Bulma dropdown to make it blend in more with the rest of the site.
The latest jigsaw version uses Laravel's new Blade Components 😍 . Look at updating to latest and backporting changes to previous versions.
When the docs are ready for publishing, a deploy script is needed. This will handle:
"there" should be "their"
Sentence:
You can add the is-hover class to show/hide the dropdown when the user places there mouse over the button.
Location:
https://vizuaalog.github.io/BulmaJS/docs/0.9/dropdown
It can be quite tedious doing the tasks required for prepping a new major docs release. Would be nice to be able to automate the following:
master
docs folder into a folder for the new versionThis could be implemented via Algolia's documentation search. Or via another method.
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.