renderstyleonly-true
render_style_only: true​
%input.hid{type: "checkbox", checked: opts[:value] ? 'checked' : false, name: "#{namespace}Gradient", data: {namespace: "#{namespace}Gradient", label: sc('gradient'), 'render-style-only': opts[:render_style_only]}, class: "#{opts[:ignore] ? 'ignore' : ''}"}
When you see "render_style_only: true" in the opts, this prevents the view from reloading when a style elements is changed in settings.