Vanilla JS Dialog

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

Bu script direkt olarak kurulamaz. Başka scriptler için bir kütüphanedir ve meta yönergeleri içerir // @require https://update.greasyfork.org/scripts/465421/1471180/Vanilla%20JS%20Dialog.js

Yazar
𝖢𝖸 𝖥𝗎𝗇𝗀
Versiyon
0.1.2
Oluşturulma
03.05.2023
Güncellenme
10.05.2023
Lisans
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