You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the attribute data-sycomponent-args if your component constructor needs some arguments, in json format:
<divdata-sycomponent="\Sy\Bootstrap\Component\Form\Contact" data-sycomponent-args='{"email": "contact@example.com", "subject": "New message from contact form"}'>
{CONTACT_FORM}
</div>
Lock a zone from inline edition
All the content in a element with the attribute data-sylock are non editable with the inline edition mode:
<divdata-sylock>
This content can't be updated during inline edition mode
</div><p>
This paragraph is editable. <spandata-sylock>Only this sentence is not editable</span></p>
Sometimes we want to be able to edit content but we need to preserve the attributes of elements like in a accordion, tabs, carousel etc...
<divdata-sylock="attributes">
All the attributes of the parent and children elements are locked
</div>