ESL Footnotes

ESLFootnotes is a custom element that is used to collect all ESLNote elements in bounds of the scope and output sorted and grouped list of collected notes.

ESLNote is a custom element that is used to show notification by the tooltip GUI element.

The elements are interrelated and don't make sense on their own. This is because once the elements are added to the DOM, they establish the link between ESLFootnotes and each ESLNote.

ESLNote is a badge with a number or symbol. When it's hovered or clicked (user-defined behavior), it shows a tooltip with text information. Depending on the state of the ESLNote, it may display:

ESLFootnotes Attributes | Properties:

ESLNote Attributes | Properties:

ESLNote Readonly Attributes | Properties:

Ignoring the group of notes

If you want the current note to be ignored by the footnote component using the ignore attribute, there is no need to write this attribute on each note. You can write the esl-note-ignore attribute once on the root element of the part for which these values are valid.

It should be noted that for the esl-note-ignore attribute, the principle of cascading applies. The principle of cascading is similar to CSS variables. The value is searched from the element and up the tree to the document body itself. If the attribute is not found in parent elements, the value of the ignore attribute from the note is used.

In other words, if it turns out that both the ignore attribute is set on the note and group ignore is present on the parent elements, then esl-note-ignore wins. And if there are several parent elements with group ignore, the one closest to the note will win.