Caution

This is the documentation for the current development branch of the CometVisu. It is possible that some of the described features are not yet available in the current release.

Also there might be lots of errors in this documentation as some parts of the content have been translated by an online translation service.

Loader

Author: Tobias Bräutigam
Available since: 2022

Description

The loader element allows you to load additional Javascript, CSS or template files.

<cv-meta>
    <cv-loader type="css" src="resource/config/media/example.css" />
    <cv-loader type="js" src="resource/config/media/example.js" />
    <cv-loader type="templates" src="resource/config/media/my-templates.xml" />
</cv-meta>

Allowed attributes

Element

Attribute

Name

Content

Description

cv-loader

type

css, js or templates

src

anyURI