Download the PHP package starcitizentools/floating-ui without Composer
On this page you can find all versions of the php package starcitizentools/floating-ui. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download starcitizentools/floating-ui
More information about starcitizentools/floating-ui
Files in starcitizentools/floating-ui
Package floating-ui
Short Description Implements the FloatingUI Javascript library.
License GPL-3.0-or-later
Homepage https://www.mediawiki.org/wiki/Extension:FloatingUI
Informations about the package floating-ui
FloatingUI
The FloatingUI extension implements Floating UI library in MediaWiki.
Extension:FloatingUI on MediaWiki.
Usage
This extension is in an early stage of development.
Parser function
Loading library only
There are several ways to load the library on a given page. Once the library is loaded, it can be accessed through window.FloatingUIDOM
in Javascript.
To attach the library to a wikipage, put the following wikitext onto the page:
Or alternatively, you can load the ResourceLoader module in Javascript:
Defining elements
- Reference element has to have the HTML class
ext-floatingui-reference
. - Floating element has to have the HTML class
ext-floatingui-content
and place next to the reference element.
Requirements
- MediaWiki 1.39 or later
Installation
You can get the extension via Git (specifying FloatingUI as the destination directory):
git clone https://github.com/StarCitizenTools/mediawiki-extensions-FloatingUI.git FloatingUI
Or download it as zip archive.
In either case, the "FloatingUI" extension should end up in the "extensions" directory of your MediaWiki installation. If you got the zip archive, you will need to put it into a directory called FloatingUI.