Vanilla JS Dialog

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

이 스크립트는 직접 설치해서 쓰는 게 아닙니다. 다른 스크립트가 메타 명령 // @require https://update.greasyfork.org/scripts/465421/1471180/Vanilla%20JS%20Dialog.js(으)로 포함하여 쓰는 라이브러리입니다.

질문, 리뷰하거나, 이 스크립트를 신고하세요.
개발자
𝖢𝖸 𝖥𝗎𝗇𝗀
버전
0.1.2
생성
2023-05-03
갱신
2023-05-10
라이선스
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