Download
User Rating: 0/5 ( 0 votes)
typey is an api wrapper for Google Fonts, making it easy to load and show all fonts at once.
Source: christabor.github.io
1. INCLUDE JS FILES
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="jquery.typey.js"></script>
2. HTML
<div class="dom-element-scope">
<h1 class="typer" data-typey-editable><span>This is a main heading</span><ul class="fonts" data-typey-font-list></ul></h1>
<p class="typer" data-typey-editable>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quidem, ad, eligendi, quos, adipisci cumque ipsa suscipit eveniet est quod repellendus illum esse iure in cupiditate impedit commodi ex eum velit.</p>
</div>
3. JAVASCRIPT
$(document).ready(function(){
var fonTypeyLoader = fonTypey({
api_key: YOUR_GOOGLE_API_KEY
});
fonTypeyLoader.initAllFeatures('.dom-element-scope');
});