component css class

This commit is contained in:
merdan 2021-05-01 19:06:29 +05:00
parent 70740a965a
commit 91082558fb
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
<script>
$.request('{{__SELF__}}::onDisplay',{
data:{random:{{__SELF__.property('random')}}
{% if __SELF__.property('css_class') %},css_class:{{__SELF__.property('css_class')}} {% endif %}
{% if __SELF__.property('css_class') %},css_class:'{{__SELF__.property('css_class')}}' {% endif %}
}
});
</script>