Native Shell
Native Shell: AI-generated UI, native in your app, on every platform. Apps on iOS, Android, macOS, Windows and Linux, GPUI apps and web pages load signed, sandboxed TSX modules at run time and draw th
A JavaScript library to suggest that the elements are scrollable horizontally, with the pointer icon.
Developer toolsJavaScript · CSSGitHub @applepleOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
A JS library to suggest that the elements are scrollable horizontally, with the pointer icon.
Taken from the repository README
Loading the full README.
Read the full 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 として登録してください。