Git Product home page Git Product logo

mtz-avatar's Introduction

<mtz-avatar>

Run the Standalone version

Follow the steps below to run the mtz-avatar component demo

npm install -g bower polyserve #this component requires bower and polyserve

bower install
npm install #when it gets to semantic-ui setup, press Enter to choose all the default options.

cd semantic #cd into semantic folder to build
gulp build

cd .. # go back to the parent directory
polyserve #access the component @ http://localhost:8080/components/mtz-avatar/

Install

Install the component using Bower:

$ bower install mtz-avatar --save

Or download as ZIP.

Recommended Install

npm install semantic-ui  # Use themes, import build/watch tasks into your own gulpfile.

Semantic UI includes an interactive installer to help setup your project Getting Started

cd semantic
gulp build

Usage

  1. Import polyfill:

    <script src="bower_components/webcomponentsjs/webcomponents-lite.min.js"></script>
  2. Import custom element:

    <link rel="import" href="bower_components/mtz-avatar/mtz-avatar.html">
  3. Start using it!

    <mtz-avatar></mtz-avatar>

Options

Attribute Options Default Description
fetch object `` Pass in the username, title, recognition and points

Development

In order to run it locally you'll need to fetch some dependencies and a basic server setup.

  1. Install bower & polyserve:

    $ npm install -g bower polyserve
  2. Install local dependencies:

    $ bower install
  3. Start development server and open http://localhost:8080/components/mtz-avatar/.

    $ polyserve

History

For detailed changelog, check Releases.

License

MIT License © WebComponents.org

mtz-avatar's People

Watchers

 avatar  avatar

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.