File tree Expand file tree Collapse file tree 1 file changed +2
-20
lines changed Expand file tree Collapse file tree 1 file changed +2
-20
lines changed Original file line number Diff line number Diff line change @@ -2,28 +2,10 @@ export default function ({ api }) {
2
2
const _setting = api . optionsManager . setting
3
3
, _op = api . optionsManager . options
4
4
, result = {
5
- className : _setting . tablistClass + ' ' + _setting [ _op . direction + 'class ' ]
5
+ className : _setting . tablistClass + ' ' + _setting [ _op . direction + 'Class ' ]
6
6
} ;
7
7
if ( _op . accessibility ) {
8
8
result . role = 'tablist' ;
9
9
}
10
10
return result ;
11
- } ;
12
- // Object.create({
13
- // get: function ({ api }) {
14
- // this._setting = api.optionsManager. ;
15
- // this._op = api.optionsManager.options;
16
- // return this._getA11Y(this._getBase());
17
- // },
18
- // _getBase: function () {
19
- // return {
20
- // className: this._setting.tablistClass + ' ' +
21
- // this._setting[this._op.direction + 'class']
22
- // };
23
- // },
24
- // _getA11Y: function (obj) {
25
- // if (this._op.accessibility)
26
- // obj.role = 'tablist';
27
- // return obj;
28
- // }
29
- // });
11
+ } ;
You can’t perform that action at this time.
0 commit comments