Color picker.
V: 1.0

Based on:
https://vanilla-picker.js.org/

 

Description

The neoColorPicker plugin for VisualNEO Web integrates a flexible color picker with alpha (transparency) support, allowing users to select colors in a range of formats. Here’s an outline of its capabilities:

    • Attach Color Picker to Container:
      • The neoColorPicker command attaches a color picker to a specified container object in the app, allowing users to select colors directly within the app’s interface. This picker supports initial color settings and positioning options for the popup, providing seamless integration into the user interface.
    • Color and Format Customization:
      • Developers can set the initial color for the picker and define the color format, such as hexadecimal or RGB, giving users flexibility in color choices and format preferences. Additionally, the plugin supports alpha transparency, allowing for RGBA colors and enabling users to choose opacity levels.
    • Dynamic Color Setting and Callback Functions:
      • Using neoColorPickerSetColor, developers can dynamically update the displayed color in the picker based on app interactions or user input. Furthermore, the plugin supports callback functions, enabling custom actions to execute immediately after a color is selected, enhancing interactivity.

The neoColorPicker plugin is suitable for applications that require user-selected colors, such as design tools, theme customization, or any app where visual customization is essential​.

neoColorPicker

Purpose:

Attach a color picker with alpha channel to a Container object

Category:

neoColorPicker

Syntax:

neoColorPicker "objId" thePosition "theInitialColor" theEditorFormat retVar theCallBack

 

objId

Select a Container object

thePosition

Popup position

theInitialColor

Initial color (ie: #345678)

theEditorFormat

Editor format

retVar

Variable to store result

theCallBack

Callback subroutine

 

neoColorPickerSetColor

Purpose:

Set the color picker color to be shown on popup

Category:

neoColorPicker

Syntax:

neoColorPickerSetColor "objId" "theColor"

 

objId

Container object

theColor

Color to set up

Created with the Personal Edition of HelpNDoc: Make Help Documentation a Breeze with a Help Authoring Tool