Skip to content
Edit this page

SiHelpButtonComponent documentation

import { SiHelpButtonComponent } from '@siemens/element-ng/help-button';

This component creates a help button that shows contextual help in a popover.

Example:

<button
  type="button"
  si-help-button
  siHelpTitle="Help for problem"
  siHelpContent="Use your imagination to solve this problem."
>
  <!-- This text is only visible to screen reader. Provide a meaningful text, not only "help" -->
  How to solve the problem?
</button>

Input Properties

Name Type Default Description
siHelpContent
TranslatableString | TemplateRef<unknown> | undefined

The popover text to be displayed

siHelpContext
unknown undefined

The context for the attached template

siHelpPlacement
"start" | "end" | "bottom" | "auto" | "top" 'auto'

The placement of the popover. One of 'top', 'start', 'end', 'bottom'

siHelpTitle
TranslatableString | undefined undefined

The title to be displayed on top for the popover

Types Documentation

import type { TranslatableString } from '@siemens/element-translate-ng/translate-types';

Represents a translatable string. This can either be a translation key, e.g. ACTIONS.EDIT that will be automatically translated when displayed on the UI or a pre-translated string, e.g. Edit. Equivalent to a normal string in usage and functionality.


Except where otherwise noted, content on this site is licensed under MIT License.