프로젝트
GitHub에서 보기
tsoding/grecha.js
소개
Simple Front-End JavaScript Framework
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +2
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalGrecha.js

Simple Front-End JavaScript Framework. Originally designed for emoteJAM. The name basically means buckwheat in russian.
Quick Start
https://tsoding.github.io/grecha.js/example.html
<!DOCTYPE html>
<html>
<head><title>Grecha.js</title></head>
<body>
<div id="entry"></div>
<script src="./grecha.js"></script>
<script>
const kasha = img("Kasha.png");
const kashaHard = img("KashaHard.gif");
let count = 0;
let hard = false;
const r = router({
"/": () => div(
h1("Grecha.js"),
div(a("Foo").att$("href", "#/foo")),
div(a("Bar").att$("href", "#/bar")),
div("Counter: "+count),
div(hard ? kashaHard : kasha).onclick$(function () {
count += 1;
hard = !hard
r.refresh();
}),
),
"/foo": () => div(
h1("Foo"),
p(LOREM),
div(a("Home").att$("href", "#")),
),
"/bar": () => div(
h1("Bar"),
p(LOREM),
div(a("Home").att$("href", "#"))
)
});
entry.appendChild(r);
</script>
</body>
</html>
관련 프로젝트 살펴보기
불러오는 중…