arthurclemens / dialogic-js Goto Github PK
View Code? Open in Web Editor NEWControl the opening and closing of dialogs using HTML and vanilla JavaScript.
License: MIT License
Control the opening and closing of dialogs using HTML and vanilla JavaScript.
License: MIT License
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
).github/workflows/main.yml
actions/checkout v3
actions/setup-node v3
actions/cache v3
actions/cache v3
cypress-io/github-action v4
ubuntu 22.04
package.json
npm-run-all ^4.1.5
@types/jest ^29.4.0
@typescript-eslint/eslint-plugin ^6.0.0
@typescript-eslint/parser ^6.0.0
cypress ^12.7.0
esbuild ^0.20.0
eslint-config-prettier 9.1.0
eslint-import-resolver-typescript 3.6.1
eslint-plugin-cypress ^2.12.1
eslint-plugin-import 2.29.1
eslint-plugin-jest-dom 5.1.0
eslint-plugin-json 3.1.0
eslint-plugin-jsx-a11y ^6.7.1
eslint-plugin-prettier 5.1.3
eslint-plugin-simple-import-sort 10.0.0
http-server ^14.1.1
prettier ^3.0.0
start-server-and-test ^2.0.0
typescript ^5.0.0
I'm taking a look on how to add primer_live
to my project and one of the issues I have is with the dialog.
The initial structure from phoenix the bootstrap it opens and hide the dialog via routes, so in my project I kept that and to migrate to primer_live
I didn't find any other way besides using hooks.
The hook is pretty simple
OpenDialog: {
mounted() {
Prompt.show(this.el, {didHide: () => {...somethinghere...})
}
}
but now when dialog is closed I want the callback to be called to patch live view to another route but these options from the show
are not propagated to its internal hide
when clicking outside or escaping, would that be possible?
If you have any other suggestions how to do this dialog opening/closing route based, taking into account that the dialog might not be ready and some data may still need to be loaded, I'm open to change my implementation as well.
Thank you so much :)
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.