承接 starcitizentools/floating-ui 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

starcitizentools/floating-ui

最新稳定版本:v1.0.1

Composer 安装命令:

composer require starcitizentools/floating-ui

包简介

Implements the FloatingUI Javascript library.

README 文档

README

The FloatingUI extension implements Floating UI library in MediaWiki.

Extension:FloatingUI on MediaWiki.

Usage

Parser function

{{#floatingui:reference|content}}

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:

{{#floatingui:}}

Or alternatively, you can load the ResourceLoader module in Javascript:

mw.loader.load( 'ext.floatingUI.lib' );

Defining elements

  1. Reference element has to have the HTML class ext-floatingui-reference.
  2. Floating element has to have the HTML class ext-floatingui-content and place next to the reference element.

Requirements

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.

统计信息

  • 总下载量: 334
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 1
  • 开发语言: JavaScript

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2024-09-07