Bootstrap widget render with data
-
Is there any best practice in bootstrapping Widget with data?
Pre-rendered widget via backend isn't enough for me. -
Like this?
nodebb-widget-essentials/public/templates/widgets/activeusers.tpl at master 路 NodeBB/nodebb-widget-essentials
Several basic widgets bundled together in one package including 'HTML', 'Markdown', 'Recent Replies', 'Active Users', and 'Moderators' - nodebb-widget-essentials/public/templates/widgets/activeusers.tpl at master 路 NodeBB/nodebb-widget-essentials
GitHub (github.com)
This pre-renders the list of active users from server data. And then has some inline JS with socket call to update the list as new users become active
Copyright 漏 2024 NodeBB | Contributors