Verint | Telligent Community
Verint | Telligent Community
  • Site
  • User
  • Site
  • Search
  • User
Verint Community 11.x
  • Verint Community
Verint Community 11.x
API Documentation evolutionInlineTagEditor 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
      • +Client Messages
      • +Composer Plugins
      • +JavaScript API Modules
      • +jQuery Events
      • -jQuery Plugins
        • dynamicForm jQuery Plugin
        • evolutionBookmark jQuery Plugin
        • evolutionCodeEditor jQuery Plugin
        • evolutionComposer jQuery Plugin
        • evolutionFeature jQuery Plugin
        • evolutionHighlight jQuery Plugin
        • evolutionHtmlEditor jQuery Plugin
        • evolutionInlineTagEditor jQuery Plugin
        • evolutionLike jQuery Plugin
        • evolutionMasonry jQuery Plugin
        • evolutionModerate jQuery Plugin
        • evolutionPager jQuery Plugin
        • evolutionProgressIndicator jQuery Plugin
        • evolutionResize jQuery Plugin
        • evolutionScrollSlider jQuery Plugin
        • evolutionSqueezeText jQuery Plugin
        • evolutionStarRating jQuery Plugin
        • evolutionTagTextBox jQuery Plugin
        • evolutionTextEditor jQuery Plugin
        • evolutionTheater jQuery Plugin
        • evolutionTip jQuery Plugin
        • evolutionToggleLink jQuery Plugin
        • evolutionTransform jQuery Plugin
        • evolutionUserFileTextBox jQuery Plugin
        • evolutionValidation jQuery Plugin
        • glowColorSelector jQuery Plugin
        • glowDropDownList jQuery Plugin
        • glowLookUptextBox 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
        • uilinks jQuery Plugin
      • +UI Components
    • +Dynamic Configuration
    • +LESS Functions
    • +Script API Types
    • +Script APIs

evolutionInlineTagEditor jQuery Plugin


jQuery.fn.evolutionInlineTagEditor

This plugin supports rendering a tag editor supporing editing and selecting of tags.

Usage

$('SELECTOR').evolutionTagEditor(options)

where 'SELECTOR' is an a, span, or div tag.

Options

  • allTags: (array of strings) List of all tags available in this context
    • default ['']
  • currentTags: (array of strings) List of tags associated to the current content
    • default ['']
  • editorCssClass: (string) CSS class applied to the editor pop-up
    • default 'tags-editor'
  • editButtonText: (string) Label for the element identified by the selector, to open the editor pop-up
    • default 'Edit'
  • selectTagsText: (boolean) Label to open the tag selector within the editor pop-up
    • default 'Select Tags'
  • saveTagsText: Label for the save button on the editor pop-up
    • default 'Save'
  • cancelText: Label for the cancel button on the editor pop-up
    • default 'Cancel'
  • onSave: (function) callback function when tags are saved. The function is passed an array of strings (the list of tags) and a callback function to be called when saving is complete.

Example

Given the following span to contain a inline tag editor control:

<a id="inlineTagEditorControl"></a>

The following will initialize an inline tag editor control, using defaults for most options

var inlineTagEditorControl = $('#inlineTagEditorControl');
inlineTagEditorControl.evolutionInlineTagEditor({
    allTags: ['tag1', 'tag2', 'tag3'],
    currentTags: ['tag2']
    onSave: function(tags, callback) {
        alert('Saving tags: ' + tags.join(', '));

        // ...perform AJAX-based saving of tags here...

        // After a successful save, callback to notify the inline tag editor plugin
        callback();
    }
});

  • 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