Skip to content

Commit

Permalink
Updated example.
Browse files Browse the repository at this point in the history
  • Loading branch information
razaibi authored Sep 11, 2024
1 parent e6b7a7d commit 15a6008
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
//If you would like to invoke a function
//after Wirup Initializes
//replace the above call with this:
//wu.init('yourOwnCustomFunction');
//wu.init({ 'callbackName':'yourOwnCustomFunction'});
// Also uncomment the below lines.

/*
Expand All @@ -83,6 +83,14 @@
}
*/

// For multiple component files, use below pattern.
//wu.init({
// 'components': [
// 'components2.js',
// 'components.js'
// ]
//});

document.getElementById('peopleLink').addEventListener("click", function(){
wu.navigateTo('/');
});
Expand Down

0 comments on commit 15a6008

Please sign in to comment.