Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

target = "_self" #61

Open
gplngr opened this issue Jun 10, 2021 · 1 comment
Open

target = "_self" #61

gplngr opened this issue Jun 10, 2021 · 1 comment

Comments

@gplngr
Copy link

gplngr commented Jun 10, 2021

Hi @yonicd,

first of all: Thanks a lot for slickR!
At the moment the link targets are set to "_blank" by default (https://cran.r-project.org/web/packages/slickR/vignettes/basics.html#adding-links). I would like to link on the same page and replace with target = "_self", but did not yet find a documented way to achieve this. Is there such an option? If not, I think it would make a great feature.

Thanks, G

@yonicd
Copy link
Owner

yonicd commented Jun 12, 2021

Thanks for opening this issue. You are correct this is currently hardcoded https://github.com/yonicd/slickR/blob/master/R/dom_utils.R#L75 . I'll have the think how to best expose this option since it is not readily accessible or a natural part of the main call

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants