More-Link Render Hooks

These hooks apply to more-links across views. For subtype-specific styling, see Column More-Link Render Hooks and Row More-Link Render Hooks.

moreLinkClass - a ClassName Input for the more-link element

moreLinkInnerClass - a ClassName Input for the inner wrapper of the more-link. Useful for adjusting padding.

moreLinkContent - a Content Injection Input

moreLinkDidMount - called right after the link has been added to the DOM

moreLinkWillUnmount - called right before the link will be removed from the DOM

Argument

When the above hooks are specified as a function in the form function(arg), the arg is an object with the following properties:

  • num - the number of hidden events
  • text - the localized text that would appear in the link by default
  • numericText - the numeric portion of the text (e.g. "+5")
  • longText - the full localized text (e.g. "+5 events")
  • isNarrow