<head>
<title>sem</title>
</head>
<body>
{{> sampleModal}}
</body>
<template name="sampleModal">
<div class="ui modal">
<i class="close icon"></i>
<div class="header">
New Order
</div>
<div class="content">
<div class="left">
Content can appear on left
</div>
<div class="right">
Content can appear on right
</div>
</div>
<div class="actions">
<div class="ui button">Cancel</div>
<div class="ui button okButton">OK</div>
</div>
</div>
</template>if (Meteor.isClient) {
Template.sampleModal.events({
'click .okButton': function (e,t) {
console.log("You pressed the ok button");
}
});
Template.sampleModal.rendered = function(){
$('.ui.modal').modal('show');
}
}
if (Meteor.isServer) {
Meteor.startup(function () {
// code to run on server at startup
});
}--
You received this message because you are subscribed to the Google Groups "meteor-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meteor-talk...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<div class="ui modal">
{{> sampleModal}}
</div>