You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
674 B
30 lines
674 B
<results>
|
|
<div if={notLoading} class="courses container">
|
|
<row if={rows.length > 0} class="course-row columns" each={ rows } data="{ this }" classrow={ row }></row>
|
|
<div if={rows.length <= 0} class="empty">
|
|
No Results, Sorry!
|
|
</div>
|
|
</div>
|
|
<script>
|
|
clicker() {
|
|
alert("clicked");
|
|
}
|
|
this.rows = [];
|
|
var self = this;
|
|
|
|
results_passer.on("loading",
|
|
function() {
|
|
self.notLoading = false;
|
|
self.update();
|
|
});
|
|
|
|
results_passer.on("new_results",
|
|
function(data) {
|
|
console.log("new search results detected");
|
|
console.log(data);
|
|
self.rows = data;
|
|
self.notLoading = true;
|
|
self.update();
|
|
});
|
|
</script>
|
|
</results>
|
|
|