Skip to content
pixi-silk
GitHub repository
Function

cloneLayout

import { cloneLayout } from 'pixi-silk/i18n';
function cloneLayout(layout: MessageLayout): MessageLayout;

A copy of a layout whose instances and number slots can change without touching the original.

Parameters#

ParameterType
layoutMessageLayout

Returns#

MessageLayout