Plugin : Web font loader

Author:Rex.Rainbow

Download

Properties

Timeout

  • Timeout, in seconds.

API source

  • Load api from web or local (webfont.js).
    • Options : ["Local","Web"]

Actions

Add

Action:Google

  • Add google web font.
    • Name ( string ) : Family name to add.

Action:Typekit

  • Add Typekit web font.
    • ID ( string ) : ID.
    • API ( string ) : Edge Web Fonts URL.

Action:Fonts.com web fonts

  • Add Fonts.com web fonts.
    • Project ID ( string ) : Project ID.
    • Version ( number ) : Version, optional, flushes the CDN cache.
    • Load all ( Combo ) : Load all fonts.
      • Options : ["","load all fonts"]

Action:Custom

  • Add custom web font.
    • Family name ( string ) : Enter the font family name.
    • URL ( string ) : Enter the CSS file URL or font file URL.

Load

Action:Loading

  • Load fonts.

Expressions

Load

Expression:LastFamilyName

  • Get last triggered family name.

Conditions

Load API

Condition:On load api error

  • Triggered when load web font loader api error.

Load font

Condition:On font loading

  • This event is triggered once for each font that's loaded.

Condition:On font active

  • This event is triggered once for each font that renders.

Condition:On font inactive

  • This event is triggered if the font can't be loaded.

Load fonts

Condition:On loading

  • This event is triggered when all fonts have been requested.

Condition:On active

  • This event is triggered when the fonts have rendered.

Condition:On inactive

  • This event is triggered when the browser does not support linked fonts or if none of the fonts could be loaded.