You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please consider this PR only a suggestion.
There is no functional difference between
```js
const isRevealed = el.getAttribute("data-revealed");
```
and
```js
const isRevealed = el.dataset.revealed;
```
but to me the latter reads a little neater.
Another nice feature is that `dataset.multipleWords` in JS translates to
`data-multiple-words` in HTML.
0 commit comments