Silvermoon logo

sm.set_page_content

sm.set_page_content is an API function that replaces current page contents and stops rendering.

Usage

sm.set_page_content(content)

NOTE:sm.set_page_content doesn’t stop lua tag execution use do return end to stop lua execution!

Example:

sm.set_page_content("Hello there!")
do return end