()
| 21 | } |
| 22 | |
| 23 | export function syncUrlParamsToForm(): {cols: string; rows: string} { |
| 24 | let cols = getUrlParamValue('cols') ?? DEFAULT_COLS_COUNT; |
| 25 | let rows = getUrlParamValue('rows') ?? DEFAULT_ROWS_COUNT; |
| 26 | (document.getElementById('cols') as HTMLInputElement).value = cols; |
| 27 | (document.getElementById('rows') as HTMLInputElement).value = rows; |
| 28 | return {cols, rows}; |
| 29 | } |
| 30 | |
| 31 | export function init(appRef: ApplicationRef) { |
| 32 | const table = appRef.components[0].instance; |
no test coverage detected
searching dependent graphs…