Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
coins-jquery-ui-utilities
Advanced tools
Common GUI actions and objects, standardized and simplified for constructing jQ UI widget instances
Common GUI actions and objects, standardized and simplified for constructing jQ UI widget instances
So modals, buttons, datepickers, etc get created through a common interface to yield improved consistency through the FE app.
All button functions, accessible via .button.FUNCNAME
accept a common set of options to override the default behavior.
All button functions accept the options hash, and most provide some helpful defaults. Apply any button options usually fed the jQuery button API to the options hash. Additional actions supported are:
class
['string'] (default: 'default'
) - a button class to apply. see btnClassesel
[Element] - element to buttonize. If no element provided, the button config (see returnConfig
) is returned by defaultreturnConfig
[boolean] - return the button configuration object, vs the button instancecloseDialog
[booean] (default: false
) - If button is fed to a dialog, buttons: []
array, the button will close the dialog after any click
function has executed, and after any action
function(s) have executed. This will auto-enable click regardless if no click
is defined.destroyDialog
[boolean] (default: false
) - See closeDialog
, but destroys widget instanceaction
[Function | [Function]] - additional action function(s) to be performed on button click. This will auto-enable click regardless if no click
is defined. All actions are run synchronously.String indexed hash of boostrap correllated className
s. Available classes are:
'default'
, 'danger'
, 'info'
, 'primary'
, 'success'
, 'warning'
All button constructors below utilize base
. Can be used directly with above configurations as needed.
Sugar for a button titled "Close" that will attempt to close a Dialog instance on click.
Sugar for a button titled "Close" that will attempt to destroy a Dialog instance on click.
Sugar for a red button titled "Delete" that ensures that a click
or action
attr is defined.
All dialog functions accept the options hash, and most provide some helpful defaults. Apply any dialog options usually fed the jQuery dialog API to the options hash. Additional actions supported are:
All dialog constructors below utilize base
. Can be used directly with above configurations as needed. Close buttons in the button pane destroy the dialog by default.
Generates a dialog with a default title of "Operation Failed"
, a friendly error message, and a red close button.
[Deprecated] Passed an api error, builds a fail
dialog with details from the failed API call. Not recommended for use.
This is a dated means of dependency management, however, until all COINS tools migrate to a FE DI system, it shall suffice.
run npm run demo
and open the posted url! demo/index.html
should load with some helpful examples.
require
jquery and lodash individually. only consumed lodash fns are required into bundleFAQs
Common GUI actions and objects, standardized and simplified for constructing jQ UI widget instances
The npm package coins-jquery-ui-utilities receives a total of 12 weekly downloads. As such, coins-jquery-ui-utilities popularity was classified as not popular.
We found that coins-jquery-ui-utilities demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.