0.6.22 • Published 7 months ago

renaissance v0.6.22

Weekly downloads
6
License
MIT
Repository
github
Last release
7 months ago

renaissance

Test Status

Structure your apps

Originally inspired by twitter's flightjs.

Usage

For an example on how renaissance components, adapters and plugins work together you can have a look at the renaissance-demo repo.

API

r.registerAdapter({string} name, {constructor} Adapter)

make an adapter available to renaissance

r.registerPlugin({string} name, {constructor} Plugin)

make a plugin available to renaissance

r.registerMixin({string} name, {constructor} Component, {function} callback)

make a mixin available to given component constructor and thus to all instances of the component

r.Component

base component class which you can derive all your components from

r.Component.trigger({string} event, {*} data)

trigger a registered event

r.Component.before({string} event, {function} callback)

register a callback on the before handler of an event

r.Component.on({string} event, {function} callback)

register a callback directly on the event

r.Component.after({string} event, {function} callback)

register a callback on the after handler of an event

r.Component.onInit()

with this method you can call the handler for the init-method

Contributing

See CONTRIBUTING

Credits

See CREDITS

License

MIT (c) 2016 - 2023 frncsdrk and contributors

0.6.22

7 months ago

0.6.21

10 months ago

0.6.20

1 year ago

0.6.19

1 year ago

0.6.18

2 years ago

0.6.17

2 years ago

0.6.16

3 years ago

0.6.14

3 years ago

0.6.15

3 years ago

0.6.13

3 years ago

0.6.12

3 years ago

0.6.11

3 years ago

0.6.10

3 years ago

0.6.9

3 years ago

0.6.8

4 years ago

0.6.7

4 years ago

0.6.6

4 years ago

0.6.5

4 years ago

0.6.4

5 years ago

0.6.3

5 years ago

0.6.2

5 years ago

0.6.1

5 years ago

0.6.0

5 years ago

0.5.2

5 years ago

0.5.22

5 years ago

0.5.1

5 years ago

0.5.0

6 years ago

0.4.1

6 years ago

0.4.0

6 years ago

0.3.1

7 years ago

0.3.0

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago