Skip to content

Events through 3 ways #164

Description

@jonasdacruz

I think that we have to separate Event concept in 3 different ways.

1- Global or App.
2- Data, HTTP or Network.
3- User interaction.

So, my proposal would be to follow using current iris.on, iris.off, iris.notify as App Events.

Create events about Network traffic within Resource components and in the other hand add new methods in UI and Screen components, being these the User interaction events.

We would add a new collection of methods such as self.on, self.off, self.notify, doing each one just reachable in their context.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions