The _SearchResultLinkMixin should be mixed into all modules that require Search Result Link behaviour.
- Copyright:
- Copyright (C) 2005-2020 Alfresco Software Limited
- License:
- GNU Lesser General Public License, see: Open Source Licensing
- Source:
Members
-
navigationTarget :string
-
The navigation target for links. By default this will result in links being opened in the current window/tab but this can be configured to be "NEW" so that links are opened in a new window/tab. The available options are "CURRENT" and ["NEW"]{@link module:alfresco/services/_NavigationServiceTopicMixin#newTarget}.
Type:
- string
- Since:
- 1.0.39
- Default Value:
- "CURRENT"
- Source:
-
navigationType :string
-
The URL type used for links. By default this is PAGE_RELATIVE as all the links are expected to be relative to the application page context.
Type:
- string
- Since:
- 1.0.39
- Default Value:
- Source:
Methods
-
generateSearchLinkPayload() → {object}
-
This function generates a payload for the NavigationService that varies depending upon the type of search result (e.g. a document or folder, in a site or in the repository, etc) which can also be used to extrapolate an HTML anchor for _HtmlAnchorMixin.
Returns:
The generated payload- Type
- object