Coder Social home page Coder Social logo

saadqbal / higooglefonts Goto Github PK

View Code? Open in Web Editor NEW
47.0 2.0 6.0 718 KB

HiGoogleFonts allows you to add a Google font picker to easily display a list of Google fonts. The picker shows an instant preview of the font style without loading the font css.

License: Apache License 2.0

CSS 6.96% HTML 38.51% JavaScript 54.53%
google-font-picker font-picker google-fonts font-preview picker font font-selection

higooglefonts's Introduction

Asad Iqbal

Twitter Badge Linkedin Badge Medium Badge Gmail Badge

Hi ๐Ÿ‘‹,

I am a full stack developer. ๐Ÿ„โ€โ™‚๏ธ.

  • ๐Ÿ”ญ Iโ€™m currently working on React Native Apps
  • ๐ŸŒฑ Iโ€™m currently learning ML with python
  • ๐Ÿ’ฌ Ask me about: anything
  • โšก Languages: Javascript, Solidity, Java, python, React, React Native,

โญ๏ธ From saadqbal

higooglefonts's People

Contributors

goneale avatar judsgit avatar robertlestak avatar saadqbal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

higooglefonts's Issues

Load Custom Font

Hi @saadqbal,
Thanks for this awesome library. Is there a way to load custom fonts (like non-google fonts)

Thank in Advance
Karthick Kumar

Preview fonts while browsing selections with up/down arrow keys

  • Click to open dropdown
  • Use down arrow key to move selection several fonts down
  • For each selection change, I would like to see the previewed font load up immediately by firing loadedCallback or similar type of callback

This would make it a lot faster to preview the fonts on actual content than having to keep re-opening the dropdown and selecting a new font.

Thoughts?

how to generate fontsList.gif

Hi,

i want to load additional GoogleFonts like
Shrikhand
Bungee Shade
Galada
Barrio

these are not in fontsList.gif
is there a script to generate fontsList.gif?

regards

Celevra

400 error trying to load "Missing..." text as a font

From the select2 documentation:
Anything rendered in the results is templated. This includes results such as the "Searching..." and "Loading more..." text which will periodically be displayed, which allows you to add more advanced formatting to these automatically generated options. You must ensure that your templating functions can support them.

This wasn't being handled, which resulted in 400 errors trying to GET from: https://fonts.googleapis.com/css?family=Searching%E2%80%A6

It's fixable by adding this to the top of the templateResult callback:

if (!result.id)
{
return result.text;
}

Publish to bower/npm?

Could this package be published and it's dependencies moved out to a bower.json/package.json?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.