Update README.md

This commit is contained in:
Andros Fenollosa
2020-07-17 18:04:01 +02:00
committed by GitHub
parent b5fe682764
commit 988c7c15dd

View File

@ -1,11 +1,15 @@
# FFNM (Front-End for the next master) # FFNM (Front-End for the next master)
``` html ``` html
<button i-click="class:add('press')">open</button> <button i-click="class:add('open', 'article')">open</button>
<article></article>
``` ```
👇 🖱 **Click!** 👇 👇 🖱 **Click!** 👇
``` html ``` html
<button class="press" i-click="class:add('press')">open</button> <button i-click="class:add('open', 'article')">open</button>
<article class="open"></article>
``` ```
Simple utility to **avoid writing Javascript** when working with **classes**. It only takes up **2Kb**! Simple utility to **avoid writing Javascript** when working with **classes**. It only takes up **2Kb**!