0.6.22 • Published 2 years ago

renaissance v0.6.22

Weekly downloads
6
License
MIT
Repository
github
Last release
2 years 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

2 years ago

0.6.21

2 years ago

0.6.20

3 years ago

0.6.19

3 years ago

0.6.18

3 years ago

0.6.17

3 years ago

0.6.16

4 years ago

0.6.14

4 years ago

0.6.15

4 years ago

0.6.13

4 years ago

0.6.12

4 years ago

0.6.11

4 years ago

0.6.10

5 years ago

0.6.9

5 years ago

0.6.8

5 years ago

0.6.7

5 years ago

0.6.6

5 years ago

0.6.5

6 years ago

0.6.4

6 years ago

0.6.3

6 years ago

0.6.2

6 years ago

0.6.1

6 years ago

0.6.0

6 years ago

0.5.2

6 years ago

0.5.22

6 years ago

0.5.1

7 years ago

0.5.0

7 years ago

0.4.1

7 years ago

0.4.0

7 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago