This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<section> | |
<h2>Cascading Selects Example</h2> | |
<form role="form" submit.delegate="submit()"> | |
<div class="form-group"> | |
<label for="levelOne">Level 1</label> | |
<select id="levelOne" name="levelOne" value.bind="levelOne"> | |
<option value="">Select a level 1 item</option> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<h2>Simple App</h2> | |
<h5>Hi ${firstName}</h5> | |
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>GistRun</title> | |
<link rel="stylesheet" href="styles.css"> | |
</head> | |
<body> | |
<h1>Hello world!</h1> | |
<script src="script.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<select value.bind="selectedFeature"> | |
<option value=''>All Features</option> | |
<option repeat.for="feature of features" model.bind="feature">${feature.Name}</option> | |
</select> | |
Selected: ${selectedFeature.Name}, ID=${selectedFeature.id} | |
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<a href="#!" click.delegate="selectUser(user.id)" class="collection-item ${user.state}" repeat.for="user of users" id="user-${user.id}"> | |
<span if.bind="!user.lastName">${user}</span> | |
<span if.bind="user.firstName">${user.lastName}, ${user.firstName}</span> | |
</a> | |
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<a href="#!" click.delegate="selectUser(user.id)" class="collection-item ${user.state}" repeat.for="user of users" id="user-${user.id}"> | |
<span if.bind="!user.lastName">${user}</span> | |
<span if.bind="user.firstName">${user.lastName}, ${user.firstName}</span> | |
</a> | |
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<a href="#!" click.delegate="selectUser(user.id)" class="collection-item ${user.state}" repeat.for="user of users" id="user-${user.id}"> | |
<span if.bind="!user.lastName">${user}</span> | |
<span if.bind="user.firstName">${user.lastName}, ${user.firstName}</span> | |
</a> | |
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<a href="#!" click.delegate="selectUser(user.id)" class="collection-item ${user.state}" repeat.for="user of users" id="user-${user.id}"> | |
<span if.bind="!user.lastName">${user}</span> | |
<span if.bind="user.firstName">${user.lastName}, ${user.firstName}</span> | |
</a> | |
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<a href="#!" click.delegate="selectUser(user.id)" class="collection-item ${user.state}" repeat.for="user of users" id="user-${user.id}"> | |
<span if.bind="!user.lastName">${user}</span> | |
<span if.bind="user.firstName">${user.lastName}, ${user.firstName}</span> | |
</a> | |
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<a href="#!" click.delegate="selectUser(user.id)" class="collection-item ${user.state}" repeat.for="user of users" id="user-${user.id}"> | |
<span if.bind="!user.lastName">${user}</span> | |
<span if.bind="user.firstName">${user.lastName}, ${user.firstName}</span> | |
</a> | |
</template> |
OlderNewer