Hi,
I am writing a Kendo SPA application that uses MVVM. I have a bit of HTML and functionality (for choosing a user) that I will be reusing throughout my application. The functionality is as follows:
There will be a label containing a user name next to a button. The user can click on the button and a popup window appears containing a textbox and a button. The user puts a search term in the textbox and clicks the button. The user is presented with a list of relevant users under the button and textbox. Once they click on a user in the list, the window closes and the label in the main page contains the new user name.
I am able to package up the functionality in a requirejs module but not sure how to include the html and use it all in the Kendo window as described above.
Can you please point me in the right direction and let me know the recommended approach?
Thanks,
I am writing a Kendo SPA application that uses MVVM. I have a bit of HTML and functionality (for choosing a user) that I will be reusing throughout my application. The functionality is as follows:
There will be a label containing a user name next to a button. The user can click on the button and a popup window appears containing a textbox and a button. The user puts a search term in the textbox and clicks the button. The user is presented with a list of relevant users under the button and textbox. Once they click on a user in the list, the window closes and the label in the main page contains the new user name.
I am able to package up the functionality in a requirejs module but not sure how to include the html and use it all in the Kendo window as described above.
Can you please point me in the right direction and let me know the recommended approach?
Thanks,