Skip to content

<fps-meter> component helps adding FPSMeter graphics by a dedicated basic markup and its theme as a tag attribute

Notifications You must be signed in to change notification settings

hmachefe/fps-meter-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fps-meter-component

TODO: This project aims to provide a box on-the-shelf with graphic display dedicated to FPS measurements

Maintained by Hugo Machefer.

Demo

Check it live.

Usage

  1. Import Web Components' polyfill:

    <script src="../lib/polymer.js"></script>
    <script src="../lib/Platform.js"></script>	
  2. Import Custom Element:

    <link rel="import" href="src/fps-meter.html">
  3. Start using it!

    <fps-meter></fps-meter>
    <fps-meter theme="light"></fps-meter>
    <fps-meter theme="colorful"></fps-meter>
    <fps-meter theme="transparent"></fps-meter>

Options

Attribute Options Default Description
theme string undefined skin that shall be used to display FPS graphic

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

History

  • v0.0.1 Jan 1, 2014

License

MIT License

About

<fps-meter> component helps adding FPSMeter graphics by a dedicated basic markup and its theme as a tag attribute

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published