google-fonts-cli
Version:
a quick way to add a google font to your project
267 lines (86 loc) • 3.54 kB
HTML
<html lang="en">
<head>
<meta charset="utf-8">
<title>JSDoc: Class: FontCollection</title>
<script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>
<body>
<div id="main">
<h1 class="page-title">Class: FontCollection</h1>
<section>
<header>
<h2>
FontCollection
</h2>
</header>
<article>
<div class="container-overview">
<dt>
<h4 class="name" id="FontCollection"><span class="type-signature"></span>new FontCollection<span class="signature">(data)</span><span class="type-signature"></span></h4>
</dt>
<dd>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>data</code></td>
<td class="type">
<span class="param-type">Font[]</span>
</td>
<td class="description last">A json blob from the google-fonts-api</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="font-collection.js.html">font-collection.js</a>, <a href="font-collection.js.html#line9">line 9</a>
</li></ul></dd>
</dl>
</dd>
</div>
<h3 class="subsection-title">Methods</h3>
<dl>
<dt>
<h4 class="name" id="find"><span class="type-signature"></span>find<span class="signature">()</span><span class="type-signature"></span></h4>
</dt>
<dd>
<div class="description">
currently only searches for family
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="font-collection.js.html">font-collection.js</a>, <a href="font-collection.js.html#line14">line 14</a>
</li></ul></dd>
</dl>
</dd>
</dl>
</article>
</section>
</div>
<nav>
<h2><a href="index.html">Index</a></h2><h3>Classes</h3><ul><li><a href="FontCollection.html">FontCollection</a></li><li><a href="Parser.html">Parser</a></li></ul>
</nav>
<br clear="both">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Sun May 31 2015 02:27:49 GMT-0700 (PDT)
</footer>
<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>