Skip to content

xjamundx/HTML5-Meter-Shim

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
HTML5 METER SHIM
By Jamund Feguson (@xjamundx)
And Rob Middleton (@rob__ot)
Mostly stolen from: https://gist.github.com/667320

Dependencies:
 - jQuery

Usage:

    // for normal stuff
    $(document).ready(function() {
        $("meter").meterShim()
    })

	// for ajax requets
    $.get("/my/fancy/meter", function(meterHtml) {
	    $(body).append(meterHtml)
	    
		// this is the only way it would work for me, bah
	    setTimeout(function() {
	        $("meter").meterShim()    
	    }, 0)
    })

About

Provides Backward Compatible Support for the meter tag

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published