javascript - meteor angular - how to setup a dynamic dropdown menu using material-ui? -


need guidance on code structure in meteor. trying build dynamic list published collection server.

thanks in advance.

container code:

import { composewithtracker } 'react-komposer'; import { documentlist } '../../api/documentlist/documentlist.js'; import { document } '../components/document.js'; import { loading } '../components/loading.js'; import { meteor } 'meteor/meteor';  const composer = (params, ondata) => {     const subscription = meteor.subscribe('documentlist');     console.log("container subscription: ", subscription);     if (subscription.ready()) {         const documentlist = documentlist.find().fetch();          ondata(null, { documentlist });      } };  export default composewithtracker(composer, loading)(document); 

how build dropdown list documentlist?


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -