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 }) {
22 const _setting = api . optionsManager . setting
33 , _op = api . optionsManager . options
44 , result = {
5- className : _setting . tablistClass + ' ' + _setting [ _op . direction + 'class ' ]
5+ className : _setting . tablistClass + ' ' + _setting [ _op . direction + 'Class ' ]
66 } ;
77 if ( _op . accessibility ) {
88 result . role = 'tablist' ;
99 }
1010 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