External: jQuery

jGraduate~jQuery

The jQuery namespace.

Source:

Namespaces

fn
jGraduate
jPicker

Members

(static) data

Source:
See:

(static) loadingStylesheets :Array.<string>

Type:
  • Array.<string>
Source:

Methods

(static) getSvgIcon(id, uniqueClone) → {external:jQuery}

Parameters:
Name Type Description
id string
uniqueClone boolean

Whether to clone

Source:
Returns:

The icon (optionally cloned)

Type
external:jQuery

(static) resizeSvgIcons(obj) → {void}

Parameters:
Name Type Description
obj PlainObject.<string, module:jQuerySVGIcons.Size>

Object with selectors as keys. The values are sizes.

Source:
Returns:
Type
void

(static) svgIcons(file, optsopt) → {void}

Parameters:
Name Type Attributes Description
file string

The location of a local SVG or SVGz file

opts PlainObject <optional>
Properties
Name Type Attributes Default Description
w Float <optional>

The icon widths

h Float <optional>

The icon heights

fallback external:jQuery.svgIcons.Fallback <optional>
fallback_path string <optional>

The path to use for all images listed under "fallback"

replace boolean <optional>

If set to true, HTML elements will be replaced by, rather than include the SVG icon.

placement PlainObject.<string, string> <optional>

Map with selectors for keys and SVG icon ids as values. This provides a custom method of adding icons.

resize PlainObject.<string, module:jQuerySVGIcons.Size> <optional>

Map with selectors for keys and numbers as values. This allows an easy way to resize specific icons.

callback module:jQuerySVGIcons.SVGIconsLoadedCallback <optional>

A function to call when all icons have been loaded.

id_match boolean <optional>
true

Automatically attempt to match SVG icon ids with corresponding HTML id

no_img boolean <optional>

Prevent attempting to convert the icon into an <img> element (may be faster, help for browser consistency)

svgz boolean <optional>

Indicate that the file is an SVGZ file, and thus not to parse as XML. SVGZ files add compression benefits, but getting data from them fails in Firefox 2 and older.

alts jQuery.svgIcons.Alts <optional>

Map of images with each key being the SVG icon ID whose alt will be set, and the value being the alt text

testIconAlt string <optional>
"icon"

Alt text for the injected test image. In case wish to ensure have one for accessibility

Source:
Returns:
Type
void