SFloatingFeature

  This Feature make use of related resource(s).

This feature allows you to put your floating UI elements like tooltips, etc, under steroid using the AMAZING Floating UI package.

Platform  
js
   â”‚    Support  
Chromium supported
Firefox supported
Safari supported
Edge supported
Since  2.0.0
   â”‚   
Olivier Bossel
Olivier Bossel
   â”‚   
beta

  Preview

Email field

Floating element preview. Try to scroll...
I'm the floating element
















 

Loading code example. Please wait...

  Import

  Install

  Interface

  1. ref
    String

    Specify the reference HTMLElement from which to position the floating one. If not specified, will take the previous element in the DOM

  2. position
    auto
    • top
    • right
    • bottom
    • left
    • top-start
    • top-end
    • right-start
    • right-end
    • bottom-start
    • bottom-end
    • left-start
    • left-end
    • auto
    String

    Specify the placement of your floating element. By default it will try to be placed as good as possible.

  3. shift
    10
    Number

    Specify a space between the floating element and the viewport side to respect

  4. offset
    Number

    Specify a space between the floating element and the reference one to respect

  5. arrow
    true
    Boolean

    Specify if you want an arrow or not

  6. arrowSize
    15
    Number

    Specify the size of the arrow in px

  7. arrowPadding
    10
    Number

    Specify the padding of the arrow in px

Bugs
are not our friends...

Don't hesitate to declare an issue if something does not works as expected.

Declare my issue on Github Talk about it on Discord

The more we are,
the stronger we become.

Don't hesitate to tell some words to you friends about us. The goal is to became more and more each days to help each others...

Support us on Patreon! Share on Facebook! Make a tweet!

The more we are,
the stronger we become.

Don't be afraid to join us on Discord.

Join us on discord!

We love,
Open source!

All of our codebase can be found on Github. We hope that you may contribute to help us make our tools even better!

Discover our codebase!

Welcome on