Plugins can provide pages on their own or extend existing pages. To extend an existing page, the page needs to support this by offering hook points.
You are not limited to the hook points for page modifications. To insert your extensions at arbitrary places:
display:none
,load
event on #main
,…and yes, you're also not limited to adding stuff.
The following hook plugin adds a custom menu and some color to /home
:
…as of January 2019. This is work in progress, if you miss a hook somewhere, contact us.
Framework | |
---|---|
/ | html.pre, head.post, body.post |
/home | body.pre, body.post |
/dashboard | body.pre |
/status | body.pre, body.post |
/shell | body.pre, body.post |
Renault Twizy | |
/xrt/drivemode | body.pre, body.post |
/xrt/scmon | body.pre, body.post |