Property | Type | Description | |
---|---|---|---|
$options | the HTML attributes for the plugin container. | ||
$settings | the social plugin settings. The following attributes are recognized: - repo: string the Github repository name. This is mandatory. - user: string the Github username that owns the repo. This is mandatory. - count: boolean whether to display the watchers or forks count. - size: the flag for using a larger button. The larger button option is 'large'. | ||
$type | the type of button. One of 'watch', 'fork', 'follow'. This is mandatory. |
Property | Type | Description | |
---|---|---|---|
$validPlugins | the valid plugins |
Method | Description | |
---|---|---|
init ( ) | Initialize the widget |
public $settings |
public $type |