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_entityattribute, thepd_optionsattribute 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_optionsindisplay()mode, it is recommended for convenience, to use the JSON notation ofpd_optionsby creating a child element called<pd_options>and include the JSON values as text.Example with
pd_optionsas child element invokingdisplay():<div pd_entity> <pd_options> { ...