* Extends maskTextFn to pass the HTMLElement to the deciding function --------- Authored-by: benjackwhite <benjackwhite@users.noreply.github.com> Co-authored-by: Justin Halsall <Juice10@users.noreply.github.com> Co-authored-by: Eoghan Murray <eoghan@getthere.ie>
25 lines
519 B
HTML
25 lines
519 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
|
|
<title>Mask text</title>
|
|
</head>
|
|
<body>
|
|
<p class="rr-mask">mask1</p>
|
|
<div class="rr-mask">
|
|
<span>mask2</span>
|
|
</div>
|
|
<div data-masking="true">
|
|
<div>
|
|
<div>mask3</div>
|
|
</div>
|
|
</div>
|
|
|
|
<p data-unmask-example="true">
|
|
unmask1
|
|
</p>
|
|
</body>
|
|
</html>
|