meo-canvas
    Preparing search index...

    Function Box

    • A plain container, laying its children out as a row: CSS's display: flex rather than Yoga's column.

      The display is named rather than inherited. The scene's default is block, as a browser gives a <div>, and a Box inheriting it would silently stop honouring gap, alignItems and justifyContent. Naming it costs a spread: 0.03 to 0.08 microseconds per container, 3.1 ms across a hundred thousand, against 90 ms to build and 8 to 22 ms to render six thousand.

      Parameters

      Returns SceneNode