🧤K
Size: a a a
🧤K
AS
Д
https://myproject.ru
<a href="https://othersite.ru">другой сайт</a>
https://myproject.ru/https://othersite.ru
AY
https://myproject.ru
<a href="https://othersite.ru">другой сайт</a>
https://myproject.ru/https://othersite.ru
Д
Д
<a href="https://yandex.ru">Текст</a>
Д
AY
Д
this.props['value'] = `<a href='https://yandex.ru'>текст</a>`;
Д
this.globalListenFunc = this.renderer.listen(this.elementRef.nativeElement, 'click', (event) => {
// console.log(environment.basepath);
if (event.target.hasAttribute("href")) {
let href = this.removeBasepath(event.target.getAttribute("href"))
const linkArray = href.split('?');
const link = linkArray[0];
let queryObj = null;
if ( linkArray.length > 1) {
queryObj = this.parseQueryParams(linkArray[1]);
}
this.router.navigate([link], {queryParams : queryObj});
return false;
}
});
Д
AY
this.globalListenFunc = this.renderer.listen(this.elementRef.nativeElement, 'click', (event) => {
// console.log(environment.basepath);
if (event.target.hasAttribute("href")) {
let href = this.removeBasepath(event.target.getAttribute("href"))
const linkArray = href.split('?');
const link = linkArray[0];
let queryObj = null;
if ( linkArray.length > 1) {
queryObj = this.parseQueryParams(linkArray[1]);
}
this.router.navigate([link], {queryParams : queryObj});
return false;
}
});
AY
АГ
АГ
V٩
V٩
АГ
АГ