-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Default popup behavior functions #2643
Conversation
@Eonasdan Curious on your thoughts here, don't want to go too far in the wrong direction |
I was on vacation last. Any down side to doing it this way? |
Ah, no worries. There are no large drawbacks that I know of. It may be useful to throw an error if the import does not resolve, also need to change the type of the options parameter. Also should change the optional popper dependency to allow 2.X versions, or at least bump the version to latest. If it works for you I'd be happy to fix this up and add documentation for it. |
That sounds good. If it needs to change later we can do that. Thanks again for this. |
Kudos, SonarCloud Quality Gate passed! |
Should be good to go now |
Thanks again for this |
* provide repl example * remove debug statement * fix version number in docs * fix npm issues * Fixes to fr, fi and it locales (#2650) * Development (#2637) * provide repl example * remove debug statement * fix version number in docs * fix npm issues * Locales: - fixed exported names of "fr" and "fi" - fixed decade casing in "it" - uniformed quotes to single in "fr" and "it" Co-authored-by: Eonasdan <me@eonasdan.com> * Default popup behavior functions (#2643) * FloatingUIDOM conversion * Revert "FloatingUIDOM conversion" This reverts commit fd1dd24. * Move to functions * Remove dep * Post Build * Optional import * Revert version change * Revert dist changes * Cleanup and documentation for floatingui * Cleanup * Fix mistake * Final cleanup Co-authored-by: Owen Schleicher <owen@swarmbox.com> * Create tr.ts (#2654) * Feat/fix ts import (#2653) * fix ts import added customDateFormat.html * updated version * updated version/change log * make sonar happy * template updates * Revert "template updates" This reverts commit 4e87b86. * template updates * template updates * update packages Co-authored-by: m-gallesio <46478501+m-gallesio@users.noreply.github.com> Co-authored-by: oschleic <80231626+oschleic@users.noreply.github.com> Co-authored-by: Owen Schleicher <owen@swarmbox.com> Co-authored-by: Omer <ulrozremo@gmail.com>
PRs relating to the v4 will be closed and locked.
development
branchNot sure where to add tests
Not sure where to add docs (plugins?)
Default behavior for popups, allows for behavior to be overwritten with
createPopup(element: HTMLElement, widget: HTMLElement, options: any): any
andupdatePopup(): void
#2640
Allows for custom popup behavior to be implemented in plugins.
No breaking change.
Looking for some initial thoughts on this.