Verint | Telligent Community
Verint | Telligent Community
  • Site
  • User
  • Site
  • Search
  • User
Verint Community 12.x
  • Verint Community
Verint Community 12.x
API Documentation glowColorSelector jQuery Plugin
  • User Documentation
  • Ask the Community
  • API Documentation
  • Manager Training
  • Developer Training
  • Tags
  • More
  • Cancel
  • New
  • API Documentation
  • +In-Process API Documentation
  • +Plugin API Documentation
  • +REST API Documentation
  • -Widget, Theme, and Automation APIs
    • +Automation Events
    • -Client-side APIs
      • +jQuery Events
      • -jQuery Plugins
        • glowColorSelector jQuery Plugin
        • glowDateTimeSelector jQuery Plugin
        • glowDropDownList jQuery Plugin
        • glowLookUptextBox jQuery Plugin
        • glowModal jQuery Plugin
        • glowMultiUpload jQuery Plugin
        • glowOrderedList jQuery Plugin
        • glowPatternedTextBox jQuery Plugin
        • glowPopUpMenu jQuery Plugin
        • glowPopUpPanel jQuery Plugin
        • glowTabbedPanes jQuery Plugin
        • glowTabSet jQuery Plugin
        • glowTransition jQuery Plugin
        • glowTree jQuery Plugin
        • glowUpload jQuery Plugin
    • +Dynamic Configuration
    • +LESS Functions
    • +Script API Types
    • +Script APIs

glowColorSelector jQuery Plugin


jQuery.fn.glowColorSelector

This plugin decorates a text input with a popup color selection tool.

Usage

Initiate a selection of text inputs to display a color selection tool when focused.

$('selector').glowColorSelector(options)

where selector contains <input type="text" /> element(s) and options is an optional object argument

Options

  • blendImageUrl: image used as the background for color blending. Evolution pre-sets intelligent defaults
  • hueBlendImageUrl: image used as the background for hue blending. Evolution pre-sets intelligent defaults
  • alphaBlendImageUrl: image used as the background for alpha blending. Evolution pre-sets intelligent defaults
  • transparentImageUrl: image used as a background to show transparency. Evolution pre-sets intelligent defaults
  • zIndex: the z-index of the color selection popup. Defaults to 1000.

Events

  • change: triggered on color selection

Methods

val

Retrieves and/or sets the current value of the color selector. The value of the selected text input is also updated by the color selector.

// get the current color
var value = $('selector').glowColorSelector('val');

// set the current color to red
$('selector').glowColorSelector('val', '#FF0000')

disabled

Retrieves and/or sets whether the color selection popup is disabled. When enabled, focusing on the input will pop open the color selector. When disabled, it will not.

// get the current disabled state
var isDisabled = $('selector').glowColorSelector('disabled');

// set the disabled state
$('selector').glowColorSelector('disabled', false);

  • Share
  • History
  • More
  • Cancel
Related
Recommended
  • Telligent
  • Professional Services
  • Submit a Support Ticket
  • Become a Partner
  • Request a Demo
  • Contact Us

About
Privacy Policy
Terms of use
Copyright 2022 Verint, Inc.
Powered by Verint Community