forked from mystiq/hydrogen-web
don't require mount args in mountView, like in UIView interface
This commit is contained in:
parent
060f4aa297
commit
68fb093c9e
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ limitations under the License.
|
||||||
import {UIView, IMountArgs} from "./types";
|
import {UIView, IMountArgs} from "./types";
|
||||||
import {tag} from "./html";
|
import {tag} from "./html";
|
||||||
|
|
||||||
export function mountView(view: UIView, mountArgs: IMountArgs): HTMLElement {
|
export function mountView(view: UIView, mountArgs?: IMountArgs): HTMLElement {
|
||||||
let node;
|
let node;
|
||||||
try {
|
try {
|
||||||
node = view.mount(mountArgs);
|
node = view.mount(mountArgs);
|
||||||
|
|
Loading…
Reference in a new issue