Native Shell
Native Shell:AI 生成的 UI,在你的應用中原生呈現,涵蓋每個平台。iOS、Android、macOS、Windows 與 Linux 上的應用、GPUI 應用與網頁在執行時載入已簽名、沙箱隔離的 TSX 模組並繪製 th
AI 翻譯
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證A JS library to suggest that the elements are scrollable horizontally, with the pointer icon.
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗Suggests that the elements are scrollable horizontally, with the pointer icon.
npm install scroll-hint --save
yarn add scroll-hint
<link rel="stylesheet" href="https://unpkg.com/scroll-hint@latest/css/scroll-hint.css">
<script src="https://unpkg.com/scroll-hint@latest/js/scroll-hint.js"></script>
モダンブラウザ (Chrome / Edge / Firefox / Safari の最新版) が対象です。Object.assign を使うため IE11 は非対応です。
アイコンの縮小表示には CSS コンテナクエリ (container-type: size) を使います。非対応のブラウザでは縮小せず、はみ出した部分はクリップされます。
import the js with babel and Browserify/Webpack
import ScrollHint from 'scroll-hint';
new ScrollHint('.js-scrollable');
lib/ と js/ はビルド成果物のため Git では管理せず、npm publish 時(prepack)に生成します。
npm ci
npm run dev # ビルドの watch と examples/index.html の配信
npm test # lint + テスト (カバレッジ 90% 未満で失敗)
npm run build # lib/ (CJS/ESM) と js/ (ブラウザ向け) を生成
npm run release:patch # minor / major も同様
v*.*.* タグを push すると GitHub Actions が npm の Trusted Publishing (OIDC) で公開します。
事前に npmjs.com 側で、このリポジトリの publish.yml を Trusted Publisher として登録してください。