Skip to content

Instantly share code, notes, and snippets.

@Alexander-Taran
Forked from djedi/app.html
Last active March 9, 2018 21:52
Show Gist options
  • Save Alexander-Taran/e1dd951450d94cda711a622894ff41f9 to your computer and use it in GitHub Desktop.
Save Alexander-Taran/e1dd951450d94cda711a622894ff41f9 to your computer and use it in GitHub Desktop.
collection observer vs observable, splice, replace combo solution - binding input in another repeater
<template>
<input type="range" ref="range1" value.bind="100" min.bind="0" max.bind="10">
${range1.value}
<input type="range" ref="range2" min.bind="0" value.bind="100" max.bind="10">
${range2.value}
<input type="range" ref="range3" min.bind="0" max.bind="10" value.bind="100">
${range3.value}
</template>
export class App {
}
<!doctype html>
<html>
<head>
<title>Aurelia</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body aurelia-app>
<h1>Loading...</h1>
<script src="https://jdanyow.github.io/rjs-bundle/node_modules/requirejs/require.js"></script>
<script src="https://jdanyow.github.io/rjs-bundle/config.js"></script>
<script src="https://jdanyow.github.io/rjs-bundle/bundles/aurelia.js"></script>
<script src="https://jdanyow.github.io/rjs-bundle/bundles/babel.js"></script>
<script>
require(['aurelia-bootstrapper']);
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment