mirror of
https://github.com/OctopusSuite/octopus-file-browser.git
synced 2026-10-08 22:05:20 +00:00
Apps set browser.contextMenu to a list of { label, action, when?, danger? }
items; when(entry, path) scopes an item to directories, files, or any
other match. Right-click, the Menu key, or a touch long press opens it.
The demo adds sample items, including a .json-only one.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
19 lines
636 B
HTML
19 lines
636 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="color-scheme" content="light">
|
|
<meta name="theme-color" content="#ffffff">
|
|
<title>octopus-file-browser</title>
|
|
<script type="module" crossorigin src="/assets/index-BJSID0yX.js"></script>
|
|
<link rel="stylesheet" crossorigin href="/assets/index-Bx92WdqS.css">
|
|
</head>
|
|
<body>
|
|
<main>
|
|
<octopus-file-browser></octopus-file-browser>
|
|
<p class="demo-status" role="status">Right-click or long-press a file or folder.</p>
|
|
</main>
|
|
</body>
|
|
</html>
|