Extends the property link renderer to allow custom link text to
be configured.
- Since:
- 1.0.54
- Copyright:
- Copyright (C) 2005-2020 Alfresco Software Limited
- License:
- GNU Lesser General Public License, see: Open Source Licensing
- Source:
Example
{
name: "alfresco/renderers/Link",
config: {
labelNode: "Click Me!",
publishTopic: "LINK_CLICKED"
}
}
Extends
- alfresco/renderers/PropertyLink
Members
-
linkLabel :string
-
The value to render as the displayed link.
Type:
- string
- Default Value:
- "linkLabel not configured"
- Source:
-
useCurrentItemAsPayload :boolean
-
Overrides the inherited default value because it is a more sensible default.
Type:
- boolean
- Default Value:
- false
- Source:
Methods
-
generateRendering(value)
-
Overrides the inherited function to return the localized [link label]{@link module:alfresco/renderers/Link#linkLabel}
Parameters:
Name Type Description value
object The details of the click event - Source: