xutl/yii2-share-widget

share for the Yii framework

Installs: 757

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Language:JavaScript

Type:yii2-extension

1.0.1 2017-05-18 06:02 UTC

This package is auto-updated.

Last update: 2022-05-10 21:48:22 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'
            ]
        ]); ?>