Open
Description
Hi all,
I am totally new to Javascript MVVM as well as knockout and all that. I just want to ask where to modify the template to add a new button besides the ones such as Save, Test, and Download. In the creation of a plugin
var commandsPlugin = function (viewModel) {
viewModel.save = saveCmd; viewModel.test = testCmd; viewModel.download = downloadCmd;
What if I want to add a new attribute (I am not sure what it's called) for viewModel, for example viewModel.textEdit = textEditCmd;, how can I do that? Many thanks
Metadata
Assignees
Labels
No labels
Activity