Skip to content

Commit 9713cf9

Browse files
committed
* core: update render method to directly assign options from setOptions for improved clarity and functionality.
1 parent a851b55 commit 9713cf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/core/src/component/component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ export class Component<O extends object = object, E extends ComponentEventsDefni
291291
* @param options The component options to override before render.
292292
*/
293293
render(options?: Partial<ComponentOptions<O>>, reset?: boolean) {
294-
this.setOptions(options, reset);
294+
this._options = this.setOptions(options, reset);
295295
const {$class, $style} = this.options;
296296
if ($class) {
297297
this.$element.setClass($class);

0 commit comments

Comments
 (0)