Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(codex-ui): popup and confirm implementation #254

Merged
merged 43 commits into from
Dec 5, 2024

Conversation

elizachi
Copy link
Contributor

@elizachi elizachi commented Jul 6, 2024

Added popup and confirm components

image

  • Popup can be called by showPopup() function
  • A showPopup() function can be added to any component, for example with @ click
  • You can also embed any component in the popup itself using showPopup() with component and props parameters
  • As an example, a new confirm component was embeded into the popup
  • The window can be closed using the optional close button
  • When you click on the confirm buttons, you can trigger any events, passing them to the confirm as on-close-activate and on-confirm-activate

codex-ui/dev/pages/components/Popup.vue Outdated Show resolved Hide resolved
codex-ui/dev/pages/components/Popup.vue Outdated Show resolved Hide resolved
codex-ui/dev/pages/components/Popup.vue Outdated Show resolved Hide resolved
codex-ui/dev/pages/components/Popup.vue Outdated Show resolved Hide resolved
codex-ui/src/vue/components/popup/Confirm.vue Outdated Show resolved Hide resolved
codex-ui/src/vue/components/popup/Popup.vue Outdated Show resolved Hide resolved
codex-ui/src/vue/components/popup/Confirm.vue Outdated Show resolved Hide resolved
codex-ui/src/vue/components/popup/Confirm.vue Outdated Show resolved Hide resolved
neSpecc

This comment was marked as resolved.

@elizachi elizachi merged commit f8878f9 into main Dec 5, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants