Initializing help system before first use

LinkGrid

Uses provided JSON data information to build an Insight LinkGrid section.

Method summary

name description
display Displays the LinkGrid.
constructor

Constructor

new LinkGrid ( )

Setup the LinkGrid component. You must call the display() method to display the grid of icons with links.

details
Example
examples
var grid = new insight.components.LinkGrid();
grid.display('link-grid-div-id', items);

Methods

method
display ( id, items )

Displays the LinkGrid.

Parameters:
params
Name Type Description
id
type
string
DOM id of DIV to add the LinkGrid to.
items
type
Array.<object>
array of JSON strings comprising of the LinkGrid elements. Each element of the array contains:
  • {string} label - labels to display below the link grid thumbnail
  • {string} description (optional) - description to display in the thumbnail hover text
  • {string} url - full or relative url for the content
  • {string} imageUrl (optional) - full or relative url to image to display as the thumbnail
  • {string} type (optional) - content type used to determine the image url if one is not provided. Allowed values are; PDF, IMAGE, HTML, VIDEO.
details
Example
examples
var grid = new insight.components.LinkGrid();
grid.display('link-grid-div-id', [
     {
         label: 'FICO',
         url: 'http://google.com/q=FICO'
     },
     {
         label: 'Google',
         url: 'http://google.com/'
     }
]);
Back to Top

© 2001-2020 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.