HTML5 Custom Widgets With JQueryUI
I am trying to build a custom widget for the HTML5 Viewer that uses the JQuery UI.
I am using Typescript and the MVVM pattern based on the template Geocortex provides.
In pure javascript i need to add the following function.
<script>
$(function() {
$( "#tabs" ).tabs();
});
</script>
I'm not sure exactly where i place this script so that it executes when the HTML page loads?
0
-
Hi Rob,
You can put it in a ViewActivatedEvent and listen for the particular view which has the tabs. There you can execute the $( "#tabs" ).tabs();
-Kevin
0
Please sign in to leave a comment.
Comments
1 comment