[GH-ISSUE #52] Snippet Updates #46

Open
opened 2026-05-05 14:59:34 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @awatson1978 on GitHub (May 6, 2015).
Original GitHub issue: https://github.com/awatson1978/meteor-api/issues/52

<!-- old -->
<button name=""></button>
<template id=""></template>

<!-- new -->
<button id=""></button>
<template name=""></template>
//old
Template.appLayout.onRendered = function(){
};

//new
Template.appLayout.onRendered(function(){  
});
Template.appLayout.onCreated(function(){  
});
Template.appLayout.onDestroyed(function(){  
});
Originally created by @awatson1978 on GitHub (May 6, 2015). Original GitHub issue: https://github.com/awatson1978/meteor-api/issues/52 ``` html <!-- old --> <button name=""></button> <template id=""></template> <!-- new --> <button id=""></button> <template name=""></template> ``` ``` js //old Template.appLayout.onRendered = function(){ }; //new Template.appLayout.onRendered(function(){ }); Template.appLayout.onCreated(function(){ }); Template.appLayout.onDestroyed(function(){ }); ```
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/meteor-api#46
No description provided.