mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +01:00
don't require mount args in mountView, like in UIView interface
This commit is contained in:
parent
060f4aa297
commit
68fb093c9e
@ -17,7 +17,7 @@ limitations under the License.
|
||||
import {UIView, IMountArgs} from "./types";
|
||||
import {tag} from "./html";
|
||||
|
||||
export function mountView(view: UIView, mountArgs: IMountArgs): HTMLElement {
|
||||
export function mountView(view: UIView, mountArgs?: IMountArgs): HTMLElement {
|
||||
let node;
|
||||
try {
|
||||
node = view.mount(mountArgs);
|
||||
|
Loading…
Reference in New Issue
Block a user