ForgeComponents
en

Components

j-EmptyInline

jComponent 20 · jcomponent@20 component Example loaded with jComponent 20

The component will display text inside the element if the value is empty or the array doesn't contain an item.


Configuration:

  • icon {String} a default icon (default: ti ti-ban)

Use it with <ui-component name="emptyinline">. When the component is not loaded yet, jComponent downloads it on first use from the address in DEF.fallback (the Componentator CDN by default). Author: Peter Širka. Source: the Componentator components repository, MIT license.

example.html
<ui-component name="emptyinline" path="common.pictures">Without pictures</ui-component>

<script>

	var common = {};

	common.pictures = [];

</script>