Greasy Fork is available in English.

Vanilla JS Dialog

A general purpose JavaScript class for Dialog Creation in Vanilla JS.

Ce script ne doit pas être installé directement. C'est une librairie destinée à être incluse dans d'autres scripts avec la méta-directive // @require https://update.greasyfork.org/scripts/465421/1471180/Vanilla%20JS%20Dialog.js

Auteur
𝖢𝖸 𝖥𝗎𝗇𝗀
Version
0.1.2
Créé
03/05/2023
Mis à jour
10/05/2023
Licence
MIT

VanillaJSDialog

VanillaJSDialog 是一個輕量級 JavaScript 庫,用於在網頁上建立自定義的對話框。

這個庫把那些麻煩的元件設計都做好,配合特別的寫法就可以簡潔地做出設定用的UI介面。

近似功能的有 GM_Config

Description

Vanilla JS Dialog Plugin Demo

The Vanilla JS Dialog plugin is a lightweight, easy-to-use plugin for creating custom dialog boxes on your website. The plugin is written in pure JavaScript, which means that it does not require any external libraries or frameworks to work.

Features

  • Customizable dialog box content
  • Option to display a backdrop overlay
  • Support for custom CSS styling
  • Lightweight and fast

Usage

  • Include the plugin JavaScript file and CSS file in your HTML document.
  • Create a new instance of the dialog box with the desired content and options.
  • Call the show() method on the dialog instance to display the dialog box.
  • Call the dismiss() method on the dialog instance to hide the dialog box.

網頁支援

簡單說明

Main Demo

Coding Examples