Verint | Telligent Community
Verint | Telligent Community
  • Site
  • User
  • Site
  • Search
  • User
Verint Community 11.x
  • Verint Community
Verint Community 11.x
API Documentation uilinks 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

uilinks jQuery Plugin


jQuery.fn.uilinks

This plugin is a supplemental API to the ui-links UI component. While ui-links enables declaring a dynamically-rendered set of links, this plugin enables modification of existing instances of ui-links from client code. The uilinks jQuery plugin does not support creating new instances of ui-links UI components.

Methods

add

$('selector.ui-links').uilinks('add', newLink, options);

Adds a new link to an existing ui-links instance.

Options:

  • className: CSS class name to apply to the wrapper <li> when rendering links. This is equivalent to class names applies to <li> nodes when declaring ui-links. (default: null)
  • selected: When selected is selected, pre-scrolls the ui-links to the link. This is equivalent to the data-selected <li> attribute when declaring a ui-links component. (default: false)

insert

$('selector.ui-links').uilinks('insert', newLink, index, options);

Adds a new link to an existing ui-links instance at the specified 0-based index.

Options:

  • className: CSS class name to apply to the wrapper <li> when rendering links. This is equivalent to class names applies to <li> nodes when declaring ui-links. (default: null)
  • selected: When selected is selected, pre-scrolls the ui-links to the link. This is equivalent to the data-selected <li> attribute when declaring a ui-links component. (default: false)

remove

$('selector.ui-links').uilinks('remove', selector);

Removes links matching a provided selector

show

$('selector.ui-links').uilinks('show', target);

Shows the currently-hidden links. Equivalent to clicking 'more'. Target is an optional location at which to show the links. Defaults to the same place it would have by default

hide

// Hide a specific ui-links
$('selector.ui-links').uilinks('hide');

// Hide all ui-links
$.fn.uilinks.hide();

Hides the open ui links.

reconfigure

$('selector.ui-links').uilinks('reconfigure');
$('selector.ui-links').uilinks('reconfigure', options);

Reconfigures a rendered instance's minLinks, maxLinks, and direction properties. Properties can be passed explicitly in options or read from the current values of the data-* attributes.

list

// Lists all links
$('selector.ui-links').uilinks('list');

// Lists hidden-only links
$('selector.ui-links').uilinks('list', { hidden: true });

Related:

  • links UI Component
  • ui.links.show Client Message
  • ui.links.hide Client Message

  • 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