axis(axis) {
    if (axis) {
      this.horizontal = axis === "horizontal" ? true : false;
    }

    return this.horizontal;
  }
Set the axis for mapping
@param {string} axis horizontal | vertical
@return {boolean} is it horizontal?