@ablogcms/command
v3.2.35
Published
Keyboard modifier key display data (Mac/Windows) for the a-blog cms admin frontend
Keywords
Readme
@ablogcms/command
キーボード修飾キーの表記データ(Mac/Windows で異なる記号・ラベルの対応)を提供する依存ゼロの パッケージ。
使い方
import { commandList } from '@ablogcms/command';
const mod = commandList.find((c) => c.id === 'Mod');
// isMac ? { command: '⌘', label: 'Command' } : { command: 'Ctrl', label: 'Ctrl' }