ng-harmony-eventeddeprecated

Programmatic Eventing (Beware: Dom Manipulation!), plus broadcast/emit behavioural conventions for faster inter-component-communication

Usage no npm install needed!

<script type="module">
  import ngHarmonyEvented from 'https://cdn.skypack.dev/ng-harmony-evented';
</script>

README

Harmony = 6 + 7;

Synopsis

Will battle test first, then come up with a proper README and examples

Code Example

import { Controller, Service } from "ng-harmony/ng-harmony";
import { SomeUtilityClass, OtherUtilityClass} from "my-org/my-repo";

We can use this lib in such a way [...]

class YourThingy extends Controller.mixin(SomeUtilityClass, OtherUtilityClass) {

Motivation

  • I wanted to be part of this because I liked it
  • I am a secret agent and want to test my superpowers
  • I had this idea ...
  • I want to stick with Angular 1 for now and missed this feature

Installation

I recommend the usage of jspm. This way, just base your project upon jspm and start using this lib as in the code example above.

jspm i github:ng-harmony/...

API Reference

MyMainUtil (Root-Class)

myMethod: that's a foo figther myOtherMethod: that's just a bar of gold

MyOtherUtil

digest: my stomach is full, too much pizzs, should have left it for the cat

Contributors

Drop me an email at at dot

License

MIT