Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #18413
Closed
Open
Issue created Dec 03, 2015 by Administrator@rootContributor

Export v4 Util class to make it usable in custom JS functions

Created by: wasinger

For custom transition effects I currently use the transition helper functions $.fn.emulateTransitionEnd and $.support.transition from Bootstrap 3.

While porting my code to Bootstrap 4 I noted that while $.fn.emulateTransitionEnd is still available and works as expected, the $.support.transition function is no longer availabe because it got replaced by Util.supportsTransitionEnd(). Unfortunately, the Util class is available within a Closure only so I cannot access it from my code.

So I ask to export the Util class to the global or jQuery namespace (e.g. as $.BootstrapUtil) to make it available for use in custom JS code.

This is somehow related to #18136 (closed) which complains about the Util class being exported as Util in the global namespace, which is not true for the default build - it is not exported at all, but IMHO should be exported under some name other than plain "Util".

Assignee
Assign to
Time tracking