Skip to content
Edit this page

SiLinkActionService documentation

import { SiLinkActionService } from '@siemens/element-ng/link';

Attributes and Methods

Name Type Default Description
(readonly)action$
Observable<LinkAction> this.actionSubject.asObservable()

Observable which emits the link and param to run the action on.

emit()
(link: Link, param: any) => void

Emit a new link and param pair to run the action on.

Parameters

Types Documentation

import type { Link } from '@siemens/element-ng/link';

import type { LinkAction } from '@siemens/element-ng/link';

Used in events emitted from SiLinkActionService

Properties

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.