-
Notifications
You must be signed in to change notification settings - Fork 18
User Widgets
Akshay Sharma edited this page Mar 22, 2015
·
4 revisions
It will render GitHub user details to the selector. Only the public repositories count will be shown in the widget.
Parameters
- username is a string which has to be valid GitHub account username.
- selector is a string containing one or more CSS selectors separated by commas.
Github.userProfile({
username: "jashkenas",
selector: ".user-1"
});
It will render GitHub user details and public activity to the selector. Activities older than 90 days will not be shown in the feed.
Parameters
- username is a string which has to be valid GitHub account username.
- selector is a string containing one or more CSS selectors separated by commas.
- limit(optional) - default and maximum is 30 - is an integer value to restrict the number of recent activities you want to render.
Github.userActivity({
username: "torvalds",
selector: ".user-2",
limit: 20
});