Custom HTML attributes
These can be used with any regular HTML elements to configure kernel requests. The PixieApp framework can trigger these requests when the element receives a click or change event, or right after the HTML fragment has completed loading.
pd_options
: List of key-value pairs that define transient states for the kernel request, according to the following format:pd_options=”key1=value1;key2=value2;...”
. When used in combination with thepd_entity
attribute, thepd_options
attribute invokes the PixieDustdisplay()
API. In this case, you can get the values from the metadata of a separate Notebook cell in which you have used thedisplay()
API. When usingpd_options
indisplay()
mode, it is recommended for convenience, to use the JSON notation ofpd_options
by creating a child element called<pd_options>
and include the JSON values as text.Example with
pd_options
as child element invokingdisplay()
:<div pd_entity> <pd_options> { ...