Skip to content

Instantly share code, notes, and snippets.

View jwx's full-sized avatar

Jürgen Wenzel jwx

  • Sundsvall, Sweden
View GitHub Profile
@jwx
jwx / index.html
Last active September 9, 2022 11:47 — forked from michaelnero/index.html
Aurelia node resolve error
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Dumber Gist</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no">
<base href="/">
</head>
<!--
Dumber Gist uses dumber bundler, the default bundle file
@jwx
jwx / index.html
Last active September 2, 2022 17:44 — forked from aegenet/index.html
au2-router-issue-alpha39
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Dumber Gist</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no">
<base href="/">
</head>
<!--
Dumber Gist uses dumber bundler, the default bundle file
@jwx
jwx / index.html
Created August 17, 2022 09:58 — forked from aegenet/index.html
au2-router-issue
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Dumber Gist</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no">
<base href="/">
</head>
<!--
Dumber Gist uses dumber bundler, the default bundle file
@jwx
jwx / index.html
Created December 23, 2020 00:44
Test
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Dumber Gist</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no">
<base href="/">
</head>
<!--
Dumber Gist uses dumber bundler, the default bundle file
@jwx
jwx / index.html
Last active October 22, 2020 23:34 — forked from fkleuver/index.html
Custom Element with Slots
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Dumber Gist</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<base href="/">
</head>
@jwx
jwx / index.html
Last active September 27, 2020 00:58 — forked from fkleuver/index.html
Multiple viewports with separate navigation
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Dumber Gist</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no">
<base href="/">
</head>
<!--
Dumber Gist uses dumber bundler, the default bundle file
@jwx
jwx / a.html
Created December 10, 2017 22:46 — forked from davismj/a.html
Stateful routes
<template>
<div style="max-height: 30px; overflow: auto; border: 1px solid green;">
<p style="display: inline-block">a</p>
<input value.bind="thing" />
</div>
</template>
@jwx
jwx / app.html
Last active October 13, 2017 09:21 — forked from jdanyow/app.html
Aurelia Gist
<template>
<require from="parent.html"></require>
<h1>${message}</h1>
<parent view-model.ref="parentVM" myself.bind="parentVM" name="ParentName"></parent>
</template>
@jwx
jwx / app.html
Last active June 12, 2017 23:01 — forked from plwalters/app.html
Decimal converter
<template>
<require from="./two-decimal-value-converter"></require>
<h1>${message}</h1>
<input value.bind="testing | twoDecimal & updateTrigger:'blur'"/>
</template>
@jwx
jwx / app.html
Last active May 15, 2017 16:05 — forked from jasoncarreira/app.html
Custom element value binding
<template>
<div if.bind="!question.alias || !question.alias.length">
<label>Texte des réponses <a click.delegate="addAlias(question)"><i class="fa fa-plus-square-o"></i></a></label>
<span>aucun text</span>
</div>
<div if.bind="question.alias && question.alias.length">
<label>Texte des réponses <a click.delegate="delAlias(question)"><i class="fa fa-trash-o" aria-hidden="true"></i></a></label>
<span repeat.for="alias of question.alias"><input style="text-align:center" value.bind="question.alias[$index]" /></span>
</div>
</template>