WLJS LogoWLJS Notebook

CreateFrontEndObject

Wolfram Kernel

creates a reference to the inner expression and stores it into frontend objects storage shared with Kernel and frontend

CreateFrontEndObject[expr_, uid_String | Nothing] _FrontEndExecutable

Returns FrontEndExecutable object with a given uid or generated.

This is a fundamental component for expressions like Graphics and other interactive elements, which are too large to be stored inline in the editor, but also needed to be fully copyable and evaluatable.

If you do not want to apply CreateFrontEndObject on your symbol manually, consider to define MakeBoxes for StandardForm. Then it can be applied automatically once it goes to the output cell.

Applications

It is mostly used for storing heavy expressions to be executed as WLJS Functions such as Graphics, Graphics3D, Audio and etc.

Exporting

Created stored objects are fully portable and can be automatically exported to any available formats.

On this page