self.ShortDate = ko.computed(function () {
return self.opts.value().toString().split(" ",4);
}, self);
Sunday, July 5, 2020
KnockoutJS - split a string
So you need to convert it first to a string then you can do the split.
Subscribe to:
Posts (Atom)
Lab 09: Publish and subscribe to Event Grid events
Microsoft Azure user interface Given the dynamic nature of Microsoft cloud tools, you might experience Azure UI changes that occur after t...
-
Import/export of any file type is the basic need of any development environment whether web development, desktop development or applicatio...
-
Here we will learn some of basic sqlite syntaxes with examples and set of rules to use tables, comments, naming conventions, reserve keywo...
-
Introduction: If you are a Software Developer and wants to automate the business process, then RPA is of consideration. This cheat sheet...