xutl / yii2-share-widget
share for the Yii framework
Installs: 759
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:JavaScript
Type:yii2-extension
Requires
- php: >=5.4.0
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2024-11-11 03:24:32 UTC
README
社交分享
<?= Share::widget([ 'message' => Html::encode($model->title), 'url' => Url::to(['/live/stream/view', 'uuid' => $model->uuid], true), 'summary' => $model->description, 'picture' => Url::to($model->banner, true), 'items' => [ 'qq', 'weibo', 'wechat', 'facebook', 'google', 'twitter' ] ]); ?>