Hello,
Can anyone tell me how to get the all data from database and able to accessible on below function when page has loaded. I need to add get all data and add loop from jQuery.
function(instance, context) {
}
Hello,
Can anyone tell me how to get the all data from database and able to accessible on below function when page has loaded. I need to add get all data and add loop from jQuery.
function(instance, context) {
}
Did you ever find a way to do this?
initialize
: this is called once per instance of the element when the element gets visible on the page.
instance
is an object representing the element.
instance = { canvas: div wrapped in a jQuery object publishState: function(name: String, value) - changes the value of a state triggerEvent: function(name: String, callback: function(err)) - triggers an event setHeight: function(height: Number) - sets the height in pixels and recalculates the page data: Object containing custom data - read and write by doing instance.data.your_variable }
For more details you can visit our Image Marker plugin.