File: no-indicator-css.html

package info (click to toggle)
htmx 2.0.8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 96,944 kB
  • sloc: javascript: 65,214; ruby: 44; sh: 39; makefile: 7
file content (16 lines) | stat: -rw-r--r-- 664 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<html lang="en">
<head>
    <meta charset="utf-8" />
    <meta name="htmx-config" content='{"includeIndicatorStyles":false}'>
    <title>Test if the includeIndicatorStyles meta option works</title>
    <script src="../../src/htmx.js"></script>
</head>
<body style="padding:20px;font-family: sans-serif">
  <h1>You should see bars here:</h1>
  <p>
      We are overriding the normal CSS inclusion with the meta directive <code>{"includeIndicatorStyles":false}</code>
      so you should see the indicator because it is not being hidden by the default classes.
  </p>
  <img class="htmx-indicator" src="../img/bars.svg" alt="Loading..." width="200">
</body>
</html>