consoleWarn

Commons
stable

Emits a Vue warn-level message prefixed with "Origam:" to the developer console. Prefer this over console.warn for internal warnings so the message is linked to the Vue component tree.

API

Signature

Full TypeScript signature sourced from the util file.

typescript

API

Parameters

Input parameters accepted by this util.

message
required
string
The warning text to display. It is automatically prefixed with "Origam: ".

API

Return value

The value returned by this util.

Returns nothing.

Usage

Examples

Ready-to-paste usage snippets.

Internal component warning

typescript