jQuery.telligent.evolution.ui.components.contentpeek
UI Component which handles automatic asynchronous loading and presentation of additional details about links content. Handles the output of $core_v2_ui.ContentPeek(contentTypeId, contentId)
which is class="ui-contentpeek" data-contentid="" data-contenttypeid=""
to trigger messages that can be handled by widgets to show additional details. The handling widget can be customized to present peek details in a theme-supported way.
Options
Data made available to instances of the component:
contenttypeid
: (string) Content Type Id Guidcontentid
: (string) Content Id Guid
Example:
Given the markup...
<a href="..." class="ui-contentpeek" data-contenttypeid="aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa" data-contentid="bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb">
...
</a>
When a user places their mouse over the link, the contentPeek.show message
will be triggered referencing the element and content id and type id.
Default Implementation
For reference purposes or as the basis for an override:
(function ($, global, undef) {