加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
index.html 7.82 KB
一键复制 编辑 原始数据 按行查看 历史
wyzhgx 提交于 2023-02-10 17:13 . 文档更新
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>epg-focus-vue</title>
<meta name="description" content="主要应用于电视端焦点交互">
<meta name="generator" content="VuePress 1.4.0">
<meta name="theme-color" content="#3eaf7c">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="preload" href="/epg-focus/assets/css/0.styles.33941019.css" as="style"><link rel="preload" href="/epg-focus/assets/js/app.2192cdbe.js" as="script"><link rel="preload" href="/epg-focus/assets/js/2.20e6004e.js" as="script"><link rel="preload" href="/epg-focus/assets/js/9.e565d068.js" as="script"><link rel="prefetch" href="/epg-focus/assets/js/10.6777c246.js"><link rel="prefetch" href="/epg-focus/assets/js/11.a3684ea5.js"><link rel="prefetch" href="/epg-focus/assets/js/12.554966bd.js"><link rel="prefetch" href="/epg-focus/assets/js/13.38b62092.js"><link rel="prefetch" href="/epg-focus/assets/js/14.e80fff87.js"><link rel="prefetch" href="/epg-focus/assets/js/15.89e84809.js"><link rel="prefetch" href="/epg-focus/assets/js/16.385d8369.js"><link rel="prefetch" href="/epg-focus/assets/js/17.c034621a.js"><link rel="prefetch" href="/epg-focus/assets/js/18.e62445e5.js"><link rel="prefetch" href="/epg-focus/assets/js/19.1a71ac7f.js"><link rel="prefetch" href="/epg-focus/assets/js/20.19ba4395.js"><link rel="prefetch" href="/epg-focus/assets/js/21.0493a71e.js"><link rel="prefetch" href="/epg-focus/assets/js/22.7e88698a.js"><link rel="prefetch" href="/epg-focus/assets/js/3.24f38db8.js"><link rel="prefetch" href="/epg-focus/assets/js/4.623a360c.js"><link rel="prefetch" href="/epg-focus/assets/js/5.fe38ea94.js"><link rel="prefetch" href="/epg-focus/assets/js/6.3301343e.js"><link rel="prefetch" href="/epg-focus/assets/js/7.4478646a.js"><link rel="prefetch" href="/epg-focus/assets/js/8.0d360ba2.js">
<link rel="stylesheet" href="/epg-focus/assets/css/0.styles.33941019.css">
</head>
<body>
<div id="app" data-server-rendered="true"><div class="theme-container no-sidebar"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/epg-focus/" class="home-link router-link-exact-active router-link-active"><!----> <span class="site-name">epg-focus-vue</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/epg-focus/guide/" class="nav-link">
引导
</a></div><div class="nav-item"><a href="/epg-focus/v1/" class="nav-link">
v1
</a></div><div class="nav-item"><a href="/epg-focus/v2/" class="nav-link">
v2
</a></div><div class="nav-item"><a href="https://gitee.com/wyzhgx/focus-vue" target="_blank" rel="noopener noreferrer" class="nav-link external">
gitee
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div><div class="nav-item"><a href="https://www.npmjs.com/package/epg-focus-vue" target="_blank" rel="noopener noreferrer" class="nav-link external">
npm
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div> <!----></nav></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><nav class="nav-links"><div class="nav-item"><a href="/epg-focus/guide/" class="nav-link">
引导
</a></div><div class="nav-item"><a href="/epg-focus/v1/" class="nav-link">
v1
</a></div><div class="nav-item"><a href="/epg-focus/v2/" class="nav-link">
v2
</a></div><div class="nav-item"><a href="https://gitee.com/wyzhgx/focus-vue" target="_blank" rel="noopener noreferrer" class="nav-link external">
gitee
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div><div class="nav-item"><a href="https://www.npmjs.com/package/epg-focus-vue" target="_blank" rel="noopener noreferrer" class="nav-link external">
npm
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div> <!----></nav> <!----> </aside> <main aria-labelledby="main-title" class="home"><header class="hero"><!----> <h1 id="main-title">
epg-focus-vue
</h1> <p class="description">
主要应用于电视端焦点交互
</p> <p class="action"><a href="/epg-focus/guide/" class="nav-link action-button">
马上开始 →
</a></p></header> <!----> <div class="theme-default-content custom content__default"><h1 id="应用示例"><a href="#应用示例" class="header-anchor">#</a> 应用示例</h1> <div class="language-javascript extra-class"><pre class="language-javascript"><code><span class="token comment">// 安装</span>
npm i epg<span class="token operator">-</span>focus<span class="token operator">-</span>vue <span class="token operator">-</span><span class="token constant">S</span>
<span class="token comment">// 应用</span>
<span class="token keyword">import</span> Vue <span class="token keyword">from</span> <span class="token string">&quot;vue&quot;</span><span class="token punctuation">;</span>
<span class="token keyword">import</span> $focus <span class="token keyword">from</span> <span class="token string">&quot;epg-focus-vue&quot;</span><span class="token punctuation">;</span>
Vue<span class="token punctuation">.</span><span class="token function">use</span><span class="token punctuation">(</span>$focus<span class="token punctuation">,</span> <span class="token punctuation">{</span><span class="token operator">...</span>options<span class="token punctuation">}</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
</code></pre></div></div> <div class="footer">
Made by zhgx with ❤️
</div></main></div><div class="global-ui"><!----></div></div>
<script src="/epg-focus/assets/js/app.2192cdbe.js" defer></script><script src="/epg-focus/assets/js/2.20e6004e.js" defer></script><script src="/epg-focus/assets/js/9.e565d068.js" defer></script>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化