Skip to content
Snippets Groups Projects
Solid-Delete.rst 1.04 KiB

solid-delete

Receives the URL of a resource or of a container of resources via its data-src attribute, and displays a button to delete it when clicked.

<solid-delete data-src="http://server/conversations/9/"></solid-delete>

Mixins

This component uses the following mixin:

Please check their documentation to know more about its capabilities.

Attributes

data-src

The uri of the LDP resource you want to delete.

data-label

The text to display on the delete button.

confirmation-message

Available from version 0.13 Migrated to the validation mixin page in version 0.16

Add this attribute to create a dialog box linked with the button of the solid-delete. Its value matches the message displayed in the dialog box.

Events

save

Triggered when the resource is successfully deleted.