Components
Components

Arrangeable container

Tag: <we-arrangable-container>
Standard module: we_arrangable_container

Renders a reorderable list and optionally allows items to be removed. The module name uses the source spelling “arrangable”.

Features

  • Reorders caller-provided items.
  • Removal can be turned off; order changes emit orderchange.

Public parameters

JavaScript property HTML attribute Type Initial value Purpose
inputList input-list Array [{ value: "1", label: 'one' }, { value: "2", label: 'two' }, { valu… Items to arrange.
allowListRemove allow-list-remove Boolean true Whether items can be removed.

Public methods

No @apiFunction methods are declared.

Events

  • orderchange is emitted as a DOM custom event.

Source: working/environment_modules/standard/we_arrangable_container/WebComponent/WeArrangableContainer.js.

All components