Description

Add a property attribute when the input, textarea, or option has a value and is active (selected or checked if applicable). This method can be used to ensure the value property is consistent with the RDFa attributes.

Signature


calli.updateProperty(event, property)
Parameter Description
event HTML event
property CURIE of the @property value

Example


<div class="form-group">
    <label for="label">Label</label>
    <input type="text" class="form-control" id="label" value="{rdfs:label}" required="required"
        onchange="calli.updateProperty(event, 'rdfs:label')" />
</div>