From 9bafcc3a893460a2fe501edb44d3562c375701ab Mon Sep 17 00:00:00 2001 From: Charlotte Meyer Date: Sun, 26 Jan 2020 19:30:32 +0000 Subject: [PATCH] Add docs for renderer --- lua_docs.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/lua_docs.md b/lua_docs.md index ad89749..b4a1355 100644 --- a/lua_docs.md +++ b/lua_docs.md @@ -279,6 +279,20 @@ Returns the title of the view. The view is being destroyed. Callback receives the view. +#### post_render + +The view finished being rendered. +Callback receives a table with the `view`, the `renderer` and the `output`. + +This event occurs once per output the view might be drawn on. + +#### pre_render + +The view is about to be rendered. +Callback receives a table with the `view`, the `renderer` and the `output`. + +This event occurs once per output the view might be drawn on. + #### request_move The view wants to start an interactive move.