(sequence: AfterRenderSequence)
| 123 | } |
| 124 | |
| 125 | register(sequence: AfterRenderSequence): void { |
| 126 | const {view} = sequence; |
| 127 | if (view !== undefined) { |
| 128 | // Delay adding it to the manager, add it to the view instead. |
| 129 | (view[AFTER_RENDER_SEQUENCES_TO_ADD] ??= []).push(sequence); |
| 130 | |
| 131 | // Mark the view for traversal to ensure we eventually schedule the afterNextRender. |
| 132 | markAncestorsForTraversal(view); |
| 133 | view[FLAGS] |= LViewFlags.HasChildViewsToRefresh; |
| 134 | } else if (!this.executing) { |
| 135 | this.addSequence(sequence); |
| 136 | } else { |
| 137 | this.deferredRegistrations.add(sequence); |
| 138 | } |
| 139 | } |
| 140 | |
| 141 | addSequence(sequence: AfterRenderSequence): void { |
| 142 | this.sequences.add(sequence); |
nothing calls this directly
no test coverage detected