mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2024-12-05 02:01:32 +00:00
Write even more documentation
This commit is contained in:
parent
6f93869dc0
commit
24636c07d1
23
README.md
23
README.md
@ -69,6 +69,25 @@ The message format used:
|
||||
|
||||
You can use the `MessageSender` class to send messages from the TFW server or event handlers written in Python.
|
||||
|
||||
### Web
|
||||
### Web – customisable component
|
||||
|
||||
in progress...
|
||||
... explain iframing and custom Angular components...
|
||||
|
||||
### Dashboard
|
||||
|
||||
The dashboard is the component that composes all others and organises them into layouts.
|
||||
It also exposes a frontend API to dynamically change layouts any time using a message format as such:
|
||||
|
||||
```
|
||||
{
|
||||
"key": "dashboard",
|
||||
"data":
|
||||
{
|
||||
"command": "layout",
|
||||
"layout": ...,
|
||||
"hide_messages": ...
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
You can use the `hide_messages` key to hide the message component (sadly it currently still takes up the space it would occupy).
|
||||
|
Loading…
Reference in New Issue
Block a user