Skip to content

Document link param option, fixes #73 #243

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

Merged
merged 11 commits into from
Nov 6, 2019

Conversation

pascalwengerter
Copy link
Contributor

Issue #73: Document usage of params in link component

Changes

  • Modified documentation
  • Added tests for documented behaviour
  • Applied necessary changes to Dummy Application

Copy link
Collaborator

@bdlb77 bdlb77 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a fairly small addition and I've never used it personally. But the <a> tag also accepts an attribute of title. I tested it out by adding it to your test and it had failed. So it may be good to add a link options to the component

def setup
 @tag_attributes.merge!({ title: options[:title]})
end
...

https://www.w3schools.com/html/html_links.asp

@pascalwengerter
Copy link
Contributor Author

@bdlb77 been there, done that 💪 and learned sth on the way, HTML can do sooo much things!

Copy link
Collaborator

@bdlb77 bdlb77 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good from my side!

@pascalwengerter pascalwengerter merged commit dbb41ef into develop Nov 6, 2019
@pascalwengerter pascalwengerter deleted the document_link_param_option branch November 6, 2019 15:44
@jonasjabari jonasjabari added this to the 0.7.3 milestone Feb 10, 2020
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

Successfully merging this pull request may close these issues.

3 participants