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://localhost:8000/conversations/9/"></solid-delete>

Attributes

data-src

The uri of the LDP resource you want to delete.

data-label

The text to display on the delete button.

Events

resourceDeleted

Triggered when the resource is successfully deleted.