Ir al contenido

tys.elements()

Esta página aún no está disponible en tu idioma.

Method@tryyoursize/sdk

Creates an elements group: the appearance and language shared by the elements you create from it.

elements(options?: ElementsOptions): Elements;
optionsElementsOptionsOpcional
Propiedades
appearanceAppearanceOpcional

Look and feel. By default (theme: "inherit") elements take your page's font and colours. See Appearance(/reference/web/appearance/).

localeLocaleOpcional

Elements: An Elements group: create(), getElement(), update().

const elements = tys.elements({
appearance: { variables: { colorPrimary: "#3b2f26", borderRadius: 10 } },
locale: "auto",
});

¿Te ha resultado útil esta página?