AnchorElement 构造函数
- {String? href}
实现
factory AnchorElement({String? href}) {
AnchorElement e = JS<AnchorElement>(
'returns:AnchorElement;creates:AnchorElement;new:true',
'#.createElement(#)',
document,
"a");
if (href != null) e.href = href;
return e;
}