Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
uttesh authored Feb 28, 2017
1 parent 0526197 commit 912d79f
Showing 1 changed file with 11 additions and 91 deletions.
102 changes: 11 additions & 91 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,97 +83,17 @@ If you are using system.js/systemjs.config.js, don't forget to add 'ng2-letter-a
You can affect how letteravatar operates with the following settings:

<table>
<thead>
<th style="width:40%;">name</th>
<th>default</th>
<th>description</th>
</thead>

<tbody>
<tr>
<td>avatar-custom-bg-color</td>
<td>No default value</td>
<td>Using this attribute set the custom color for avatar background.</td>
</tr>

<tr>
<td>avatar-dynamic</td>
<td>false</td>
<td>Set this attribute to true if dynamically avatar needs to be generated on data change.</td>
</tr>

<tr>
<td>avatar-rotate-degree</td>
<td>0</td>
<td>Set this attribute required degrees of rotation of the avatar.</td>
</tr>

<tr>
<td>avatar-alphabet-colors</td>
<td>default color set</td>
<td>Using this attribute set the custom colors for the alphabets only.</td>
</tr>

<tr>
<td>avatar-char-count</td>
<td>1</td>
<td>Specifies the number of letters to displayed. to generate combined letter avatar of first name and last name which are separated by space then set the value to '2'.</td>
</tr>

<tr>
<td>avatar-data *</td>
<td>No default value</td>
<td>Input data i.e. email, names...etc -OR- If image already exists for item, set image URL or image data.</td>
</tr>

<tr>
<td>avatar-height</td>
<td>50px</td>
<td>set the height for the avatar.</td>
</tr>

<tr>
<td>avatar-width</td>
<td>50px</td>
<td>set the width for the avatar.</td>
</tr>

<tr>
<td>avatar-font-weight</td>
<td>400</td>
<td>set the font weight for the avatar.</td>
</tr>

<tr>
<td>avatar-font-size</td>
<td>30px</td>
<td>set the font size for the letter.</td>
</tr>

<tr>
<td>avatar-shape</td>
<td>square</td>
<td>set the shape for the avatar. set 'round' for rounded avatars.</td>
</tr>

<tr>
<td>avatar-font-family</td>
<td>HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica, Arial,Lucida Grande, sans-serif</td>
<td>set the font Family of the avatar.</td>
</tr>

<tr>
<td>avatar-border</td>
<td>false</td>
<td>set the avatarborder to 'true' for the white border to avatar.</td>
</tr>

<tr>
<td>avatar-custom-border</td>
<td>no default value</td>
<td>using this attribute set the custom style to avatar borders i.e <code> "border:5px solid black"</code>.</td>
</tr>
</tbody>
<tr>
<th>Name</th>
<th>Default Value</th>
<th>Country</th>
</tr>
<tr>
<td>avatar-custom-bg-color</td>
<td>No default value</td>
<td>Using this attribute set the custom color for avatar background.</td>
</tr>

</table>

## Contributions
Expand Down

0 comments on commit 912d79f

Please sign in to comment.