uilang icon indicating copy to clipboard operation
uilang copied to clipboard

Fix issues in code samples

Open theanxy opened this issue 10 years ago • 1 comments

Hey there,

First off, I love the idea behind the language and the website itself. I’m sure uilang will be extremely useful for designers who want to add simple interaction to websites they’re working on.

TL;DR: Could you please update the "animated switch" code sample to utilise native HTML controls while still maintaining the behavior layer using uilang?

Disclaimer: as beginners seem to be the primary target of the tool, I think it’s important to share only best practices in code samples. Any problems there could be shared across the web: we all remember the case of outline: 0; in Eric Meyer’s reset.css or user-scalable=no in early meta viewport snippets.

I would be happy to implement an improved version, but code samples aren’t part of this repository.

Cheers and keep up the good work :) Wojtek

theanxy avatar Sep 02 '14 18:09 theanxy

Good point. Finding the right balance between making examples super obvious and making robust, accessible examples isn't trivial. Leaving issue open, I'll think about it :)

bendc avatar Sep 03 '14 11:09 bendc