library
Prebuilt pebble components: drop-in custom elements, no compiler needed
Clone avec HTTPS, un jeton personnel en mot de passe, ou avec SSH, une clé ajoutée dans vos paramètres.
Dernier runAucun
0Étoiles
0Forks
2Issues
| 1 | <!doctype html> |
| 2 | <!-- |
| 3 | Smoke fixture for dist/combobox.js on a real engine. Self-driving: |
| 4 | combobox.page.ts stubs the suggestions endpoint, imports the shipped bundle, |
| 5 | types, moves through the options and writes a JSON verdict into |
| 6 | <pre id="smoke">. `bun examples/page-smoke.ts combobox` serves this file and |
| 7 | reads the verdict out of headless Chromium. |
| 8 | --> |
| 9 | <html lang="fr-CA"> |
| 10 | <head> |
| 11 | <meta charset="utf-8" /> |
| 12 | <meta name="viewport" content="width=device-width, initial-scale=1" /> |
| 13 | <title>combobox smoke</title> |
| 14 | <script type="module" src="./combobox.page.ts"></script> |
| 15 | </head> |
| 16 | <body style="margin: 0; padding: 16px"> |
| 17 | <pebble-combobox src="/proposer/film/suggestions" min="2"> |
| 18 | <form method="get" action="/proposer/film"> |
| 19 | <label for="q">Un film ou une série</label> |
| 20 | <input id="q" name="q" type="search" autocomplete="off" /> |
| 21 | <button>Chercher</button> |
| 22 | </form> |
| 23 | </pebble-combobox> |
| 24 | <p id="dehors">Plus bas sur la page.</p> |
| 25 | <pre id="smoke">PENDING</pre> |
| 26 | </body> |
| 27 | </html> |