Saltar al contenido
Meeko
Escribe para buscar en las guías y en la referencia de la API. Ábrela desde cualquier página con / o Ctrl K; muévete con las flechas y entra con Intro.
Empezar

Contenidos

En esta página

isCustomElementTag

función

A custom element (<x-markdown>): its name has a hyphen. html and model are directives only on standard elements, where they are not valid HTML attributes; on a custom element they stay the HTML attributes they were in 1.0. The compiler and the language server share this rule.

ts
import { isCustomElementTag } from "@meekojs/meeko/parse";

Código fuente src/compiler/parser/template.ts:342

Firma #

ts
function isCustomElementTag(tag: string): boolean

Parámetros #

tag string

Devuelve #

boolean

¿Te sirvió esta página?

Añadir un comentario

Se envía al elegir «Sí» o «No». Solo se guardan la página, tu respuesta y el comentario: ni cookies ni datos tuyos.

0 de 2000 caracteres

Editar en GitHub: packages/meeko/src/compiler/parser/template.ts