($el, container)
| 32 | this._isRecording = true |
| 33 | } |
| 34 | init($el, container) { |
| 35 | super.init($el) |
| 36 | |
| 37 | this._container = container |
| 38 | this._initTpl() |
| 39 | this._detail = new Detail(this._$detail, container) |
| 40 | this._splitMediaQuery = new MediaQuery('screen and (min-width: 680px)') |
| 41 | this._splitMode = this._splitMediaQuery.isMatch() |
| 42 | this._requestDataGrid = new LunaDataGrid(this._$requests.get(0), { |
| 43 | columns: [ |
| 44 | { |
| 45 | id: 'name', |
| 46 | title: 'Name', |
| 47 | sortable: true, |
| 48 | weight: 30, |
| 49 | }, |
| 50 | { |
| 51 | id: 'method', |
| 52 | title: 'Method', |
| 53 | sortable: true, |
| 54 | weight: 14, |
| 55 | }, |
| 56 | { |
| 57 | id: 'status', |
| 58 | title: 'Status', |
| 59 | sortable: true, |
| 60 | weight: 14, |
| 61 | }, |
| 62 | { |
| 63 | id: 'type', |
| 64 | title: 'Type', |
| 65 | sortable: true, |
| 66 | weight: 14, |
| 67 | }, |
| 68 | { |
| 69 | id: 'size', |
| 70 | title: 'Size', |
| 71 | sortable: true, |
| 72 | weight: 14, |
| 73 | }, |
| 74 | { |
| 75 | id: 'time', |
| 76 | title: 'Time', |
| 77 | sortable: true, |
| 78 | weight: 14, |
| 79 | }, |
| 80 | ], |
| 81 | }) |
| 82 | this._resizeSensor = new ResizeSensor($el.get(0)) |
| 83 | this._bindEvent() |
| 84 | } |
| 85 | show() { |
| 86 | super.show() |
| 87 | this._updateDataGridHeight() |
nothing calls this directly
no test coverage detected