mirror of https://github.com/abpframework/abp.git
2 changed files with 7 additions and 0 deletions
@ -1 +1,2 @@ |
|||||
|
export * from './input-signal'; |
||||
export * from './setup-component-resources'; |
export * from './setup-component-resources'; |
||||
@ -0,0 +1,6 @@ |
|||||
|
import { ɵSIGNAL as SIGNAL } from '@angular/core'; |
||||
|
|
||||
|
export const setInputSignal = <T>(inputSignal: () => T, value: T) => { |
||||
|
const node = inputSignal[SIGNAL]; |
||||
|
node.applyValueToInputSignal(node, value); |
||||
|
}; |
||||
Loading…
Reference in new issue