andru26
7/28/2017 - 8:21 AM

Load Typekit Fonts

Load Typekit Fonts

({
	typekitCall : function() {
        console.log("aa");
        
		try{Typekit.load(
            { async: true }
    	);}catch(e){}
        
	}
})
<ltng:require scripts="https://use.typekit.net/rmh3gjt.js" afterScriptsLoaded="{!c.typekitAction}" />
({
	typekitAction : function(component, event, helper) {
		helper.typekitCall(component, event);
	}
})