mirror of
https://github.com/misskey-dev/misskey
synced 2024-06-26 12:28:27 +02:00
24 lines
552 B
HTML
24 lines
552 B
HTML
<mk-user-followers>
|
|
<mk-users-list fetch={ fetch } count={ user.followers_count } you-know-count={ user.followers_you_know_count } no-users={ 'フォロワーはいないようです。' }/>
|
|
<style>
|
|
:scope
|
|
display block
|
|
height 100%
|
|
|
|
</style>
|
|
<script>
|
|
this.mixin('api');
|
|
|
|
this.user = this.opts.user;
|
|
|
|
this.fetch = (iknow, limit, cursor, cb) => {
|
|
this.api('users/followers', {
|
|
user_id: this.user.id,
|
|
iknow: iknow,
|
|
limit: limit,
|
|
cursor: cursor ? cursor : undefined
|
|
}).then(cb);
|
|
};
|
|
</script>
|
|
</mk-user-followers>
|