Viewing a response to: @jfollas/write-a-steemit-web-app-part-3-current-voting-power
To make the refresh add this function to the end where refreshAccountData function was called: ``` refreshAccountData(vm.user) function timeout() { refreshAccountData(vm.user,true) setTimeout(function () { timeout(); }, 1000); } timeout() ``` No need to refresh follow(ers/ing) each time: ``` function refreshAccountData(accountName,refresh=false) { ... if( ! refresh ) { getFollowersList() getFollowingList() getIgnoredList() ... } ```
author | money-dreamer |
---|---|
permlink | re-jfollas-write-a-steemit-web-app-part-3-current-voting-power-20171220t035221799z |
category | steem-dev |
json_metadata | {"tags":["steem-dev"],"app":"steemit/0.1"} |
created | 2017-12-20 03:52:21 |
last_update | 2017-12-20 03:52:21 |
depth | 1 |
children | 0 |
last_payout | 2017-12-27 03:52:21 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 619 |
author_reputation | 4,495,208,779,741 |
root_title | "Write a Steemit Web App: Part 3 - Current Voting Power" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 24,288,913 |
net_rshares | 0 |