JSPM

@vks-dev/jquery-dialogextend

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 198
  • Score
    100M100P100Q8143F
  • License MIT

jQuery Dialog Extend 2.0.0 - Extends jQuery UI Dialog with minimize, maximize, and collapse features - VKS package

Package Exports

  • @vks-dev/jquery-dialogextend
  • @vks-dev/jquery-dialogextend/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@vks-dev/jquery-dialogextend) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@vks-dev/jquery-dialogextend

jQuery Dialog Extend 2.0.0 - Extends jQuery UI Dialog with additional features.

This plugin extends jQuery UI Dialog with minimize, maximize, and collapse functionality.

This is a VKS-specific package wrapping the jQuery Dialog Extend plugin.

Installation

npm install @vks-dev/jquery-dialogextend

Usage

import '@vks-dev/jquery-dialogextend';
import $ from 'jquery';
import 'jquery-ui'; // Required

// Create a dialog with extended features
$('#myDialog').dialog({
  // standard dialog options
}).dialogExtend({
  closable: true,
  dblclick: false,
  titlebar: false,
  icons: {
    close: "ui-icon-closethick",
    restore: "ui-icon-newwin"
  }
});

Features

  • Minimize dialogs
  • Maximize dialogs
  • Collapse dialogs
  • Customizable titlebar
  • Event callbacks (load, beforeRestore, restore)
  • Double-click actions
  • Customizable icons

Options

  • closable (boolean) - Whether the dialog can be closed
  • dblclick (string|false) - Action on double-click
  • titlebar (string|false) - Titlebar style ('none', 'transparent', or false)
  • icons (object) - Custom icons for buttons
  • load (function) - Callback when dialog loads
  • beforeRestore (function) - Callback before restoring dialog
  • restore (function) - Callback after restoring dialog

Requirements

  • jQuery
  • jQuery UI (with Dialog widget)

License

MIT

Version

2.0.0