<hostabee-profile-picture>
A profile picture generator in a Web Component. Displays the image target by the given URL or generate one using a string (like username, email address, etc..).
Installation
Install <hostabee-profile-picture>
:
bower install Hostabee/hostabee-profile-picture --save
Once installed, import it in your application:
Running demos and tests in a browser
-
Fork the
hostabee-profile-picture
repository and clone it locally. -
When in the
hostabee-profile-picture
directory, runnpm install
and thenbower install
to install dependencies. -
Run
npm start
, browser will automatically open the component API documentation. -
You can also open demo or in-browser tests by adding demo or test to the URL, for example:
- http://127.0.0.1:3000/components/hostabee-profile-picture/demo/basic.html
- http://127.0.0.1:3000/components/hostabee-profile-picture/test
Running Tests
- When in the
hostabee-profile-picture
directory, runpolymer test
Contributing
-
Fork it!
-
Create your feature branch:
git checkout -b my-new-feature
-
Commit your changes:
git cz
OR follow this commit guide to write the commit messages. -
Push to the branch:
git push origin my-new-feature
-
Submit a pull request.
License
Apache License 2.0