()
| 22 | } |
| 23 | |
| 24 | export function syncUrlParamsToForm(): {cols: string; rows: string} { |
| 25 | let cols = getUrlParamValue('cols') ?? DEFAULT_COLS_COUNT; |
| 26 | let rows = getUrlParamValue('rows') ?? DEFAULT_ROWS_COUNT; |
| 27 | (document.getElementById('cols') as HTMLInputElement).value = cols; |
| 28 | (document.getElementById('rows') as HTMLInputElement).value = rows; |
| 29 | return {cols, rows}; |
| 30 | } |
| 31 | |
| 32 | export function init(appRef: ApplicationRef, insertSsrContent = true) { |
| 33 | let tableComponentRef: ComponentRef<TableComponent>; |
no test coverage detected
searching dependent graphs…