Skip to content

<pa-notifications-checkbox>: The notifications preferences checkbox element

The <pa-notifications-checkbox> element provides a checkbox for enabling or disbling email notifications for the conversation. It is rendered like a <input type="checkbox"> element and must only contain any child nodes. The element must be a descendant of a <pa-conversation> element.

If authentication is disabled or there is no email address associated with the participant the checkbox will be inactive and in indeterminate state.

Attributes

disabled
If present disables any user interactions.
hidden
Indicates that the element content should not be shown.

Styling

CSS shadow parts

The element exposes the following elements from its shadow root for use in CSS selectors using the element:

checkbox
The <input> element inside the shadow root.

Custom states

The element exposes the following internal states for use in CSS selectors using the element:

inactive
The conversation is inactive and user interactions are not possible.

Javascript Interface

See ParticiappNotificationsCheckboxElement.

See also