Components
Components

Path component

Tag: <we-path-component>
Standard module: we_path_component

Displays a sequence of stages and supports stage selection for a record.

Features

  • Displays current and final stage states.
  • Emits stageclick and stagechange during interaction.

Public parameters

JavaScript property HTML attribute Type Initial value Purpose
currentStage current-stage String '' Stage currently selected.
objectName object-name String '' Object API name in context.
recordId record-id String — ID of the record in context.
pathStages path-stages Array — Ordered path stages.
finalSuccess final-success Array — Stages treated as successful final states.
finalLoss final-loss Array — Stages treated as unsuccessful final states.

Public methods

No @apiFunction methods are declared.

Events

  • stagechange is emitted as a DOM custom event.
  • stageclick is emitted as a DOM custom event.

Source: working/environment_modules/standard/we_path_component/WebComponent/WePathComponent.js.

All components