all files / src/components/toolbar/controllers/ osToolbar.ts

70% Statements 7/10
0% Branches 0/2
25% Functions 1/4
70% Lines 7/10
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17                   
"use strict";
var OsToolbar = (function () {
    function OsToolbar($element) {
        this.$element = $element;
    }
    OsToolbar.prototype.getOrientation = function () {
        return this.direction == 'vertical' ? 'column' : 'row';
    };
    OsToolbar.prototype.isVertical = function () {
        return this.direction == 'vertical';
    };
    OsToolbar.$inject = ['$element'];
    return OsToolbar;
}());
exports.OsToolbar = OsToolbar;