Creating jsRO Objects
As stated previously, the sjRO models are created in the application and then propagated to the browser, where they can be consumed from Javascript through a Thinfinity.sjRO class instance.
Let's see a complete example of this sequence:
Both examples create a 'ro' object, which has a 'text' property with the value: 'Hello!'.
Using Delphi, in the Create method of the form:
Using C# (.Net Winform application)
Let's see how to work with this object from Javascript:
$(document).ready(function () {
Sequence diagram for the creation of an object:
Read more:
· OnPropertyChange(), OnSet() and OnGet() Events
Last updated