Greasy Fork is available in English.

Vanilla JS Dialog

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

Questo script non dovrebbe essere installato direttamente. È una libreria per altri script da includere con la chiave // @require https://update.greasyfork.org/scripts/465421/1471180/Vanilla%20JS%20Dialog.js

Autore
𝖢𝖸 𝖥𝗎𝗇𝗀
Versione
0.1.2
Creato il
03/05/2023
Aggiornato il
10/05/2023
Licenza
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