src/vs/platform/opener/browser/link.ts/Link/constructor
class Link:	constructor(
		link: ILinkDescriptor,
		options: ILinkOptions | undefined = undefined,
		@IOpenerService openerService: IOpenerService
	) {
		super();

		this.el = $<HTMLAnchorElement>('a.monaco-link', {
			tabIndex: 0,
			href: link.href,
			title: link.title
		}, link.label);

		const onClickEmitter = this._register(new DomEmitter(this.el, 'click'));
		const onKeyPress = this._register(new DomEmitter(this.el, 'keypress'));
		const onEnterPress = Event.chain(onKeyPress.event)
			.map(e => new StandardKeyboardEvent(e))
			.filter(e => e.keyCode === KeyCode.Enter)
			.event;
		const onOpen = Event.any<EventLike>(onClickEmitter.event, onEnterPress);

		this._register(onOpen(e => {
			if (!this.enabled) {
				return;
			}

			EventHelper.stop(e, true);

			if (options?.opener) {
				options.opener(link.href);
			} else {
				openerService.open(link.href, { allowCommands: true });
			}
		}));

		this.enabled = true;
	}