FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
wilhelm
wilhelmfixi
Public
Like
fixi
Home
Code
2
README.md
main.tsx
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
README.md
Code
/
README.md
Search
2/17/2025
README.md

Fixi.js

See https://github.com/bigskysoftware/fixi

Version

0.6.5 release

Installation

Include this snippet in your html:

<script type="module" src="https://esm.town/v/wilhelm/fixi"></script>

Description

🚲 fixi.js - it ain't much...

fixi.js is an experimental, minimalist implementation of generalized hypermedia controls

The fixi api consists of six HTML attributes, nine events & two properties

Here is an example:

<button fx-action="/content" <!-- URL to issue request to --> fx-method="get" <!-- HTTP Method to use --> fx-trigger="click" <!-- Event that triggers the request --> fx-target="#output" <!-- Element to swap --> fx-swap="innerHTML"> <!-- How to swap --> Get Content </button> <output id="output"></output>

When this fixi-powered button is clicked it will issue an HTTP GET request to the /content relative URL and swap the HTML content of the response inside the output tag below it.

Go to top
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Product
FeaturesPricing
Developers
DocsStatusAPI ExamplesNPM Package Examples
Explore
ShowcaseTemplatesNewest ValsTrending ValsNewsletter
Company
AboutBlogCareersBrandhi@val.town
Terms of usePrivacy policyAbuse contact
Ā© 2025 Val Town, Inc.