Would it be possible to “hook” into data-ipsRating to change the output of the star elements? I have tried mixin:
ips.controller.mixin('mixinName', 'core.front.core.rating', true, function () {
alert('mixin');
this.before('initialize', function () {
alert('before initialize');
});
this.before('_buildRatingElem', function () {
alert('before _buildRatingElem');
});
});
There are three alerts. The first and second are called, the last one “before _buildRatingElem" not.