and refactored __setIndicatorStyle into _createElement
This way, the orientation of a scroll indicator is fixed on construction time. This is ok for our current Scroll implementation and should be sufficient for future enhancements aswell. Changing the orientation of a scrollindicator after creating it is not a valid usecase in my opinion.
Issue #110 is fixed by this, because references to the elements are locally available in _createElement
and refactored __setIndicatorStyle into _createElement
This way, the orientation of a scroll indicator is fixed on construction time. This is ok for our current Scroll implementation and should be sufficient for future enhancements aswell. Changing the orientation of a scrollindicator after creating it is not a valid usecase in my opinion.
Issue #110 is fixed by this, because references to the elements are locally available in _createElement