* Method: _getWidth *
()
| 695 | * |
| 696 | */ |
| 697 | _getWidth() { |
| 698 | var root = this.root; |
| 699 | var stl = root.currentStyle |
| 700 | || document.defaultView.getComputedStyle(root); |
| 701 | |
| 702 | return ((root.clientWidth || parseInt(stl.width, 10)) |
| 703 | - parseInt(stl.paddingLeft, 10) // 请原谅我这比较粗暴 |
| 704 | - parseInt(stl.paddingRight, 10)).toFixed(0) - 0; |
| 705 | } |
| 706 | |
| 707 | |
| 708 | /** |
no outgoing calls
no test coverage detected