Coder Social home page Coder Social logo

joicomponents's People

Contributors

halochkin avatar orstavik avatar web-padawan avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

web-padawan

joicomponents's Issues

Should we make the gestures like TailEvents?

So that the original event is processed before the gesture events? To do so we would need to async que the gesture event. But. If we do so, then we might be able to stop the gesture by stopping the propagation of the trigger touchevent above the gesture making event. This I think would be bad, it would be confusing.

Make code for styleCallback() and layoutCallback()

  • styleCallback

  • layoutCallback

  • efficient que for calling the style and layout calculations sparingly. Make que system that works on HTMLElement.compareDocumentPosition. https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition

  • This should likely be dynamic, but perhaps only dynamic once.
    If one element with styleCallback creates other elements with styleCallback during a styleCallback que flush, then those new elements should be added at the end. No elements should be run twice in the styleCallback que.

  • efficient, run once every raf and add a manual trigger?

  • efficient, add a register of previous values, so that if no change since last call, the callback will not be triggered.

  • demo for styleCallback

  • demo for layoutCallback

  • unitTest for styleCallback

  • unitTest for layoutCallback

New chapter for events

Events,

  • EventOrganizer (a href, form) the target of the new event.
  • EventSupervisor (base) contains additional information for the new event, outside of the event organizer.
  • EventParticipant (input) contains additional information for the new event, inside the event organizer.
  • EventTrigger (buttton) trigger for the composed event, should be inside the event organizer.
  • https://codepen.io/orstavik/pen/PXeyWw?editors=1001

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.