11<img src =" https://raw.githubusercontent.com/capsidjs/capsule/master/capsule-logo.svg " width =" 70 " alt =" capsule " />
22
3- # Capsule v0.2 .0
3+ # Capsule v0.3 .0
44
55> Event-driven DOM programming in a new style
66
@@ -178,7 +178,7 @@ import { component } from "@kt3k/capsule";
178178Mirrors input value of ` <input> ` element to another dom.
179179
180180``` js
181- import { component } from " https://deno.land/x/capsule@v0.2 .0/mod.ts" ;
181+ import { component } from " https://deno.land/x/capsule@v0.3 .0/mod.ts" ;
182182
183183const { on } = component (" mirroring" );
184184
@@ -190,7 +190,7 @@ on.input = ({ query }) => {
190190Pubsub.
191191
192192``` js
193- import { component } from " https://deno.land/x/capsule@v0.2 .0/mod.ts" ;
193+ import { component } from " https://deno.land/x/capsule@v0.3 .0/mod.ts" ;
194194
195195const EVENT = " my-event" ;
196196
@@ -216,7 +216,7 @@ const EVENT = "my-event";
216216Bubbling events.
217217
218218``` js
219- import { component } from " https://deno.land/x/capsule@v0.2 .0/mod.ts" ;
219+ import { component } from " https://deno.land/x/capsule@v0.3 .0/mod.ts" ;
220220
221221const { on } = component (" my-component" );
222222
@@ -280,7 +280,7 @@ on(".btn").click = ({ e }) => {
280280# API reference
281281
282282``` ts
283- const { component, mount } from "https: // deno.land/x/capsule@v0.2 .0/mod.ts";
283+ const { component, mount } from "https: // deno.land/x/capsule@v0.3 .0/mod.ts";
284284` ` `
285285
286286## ` component (name ): ComponentResult `
@@ -484,6 +484,7 @@ unmount("my-component", el);
484484
485485# History
486486
487+ - 2022-01-11 v0.3.0 Add ` unmount ` .
487488- 2022-01-11 v0.2.0 Change delegation syntax.
488489
489490# License
0 commit comments