hat defines the request, like pd_options or pd_script. It is important to note that you can only use a div element with this attribute and that the output of the kernel request will be placed as a child element of the div. For example:
    </p>
    <pre>from pixiedust.display.app import *
@PixieApp
class RenderOnLoad():
    @route()
    def mainScreen(self):
        return """&lt;div pd_render_onload pd_script="print('hello world rendered on load')"&gt;&lt;/div&gt;"""

RenderOnLoad().run()</pre>
   </div>
 