-
Notifications
You must be signed in to change notification settings - Fork 108
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
[update] add original attributes to outputted html #45
Conversation
…r TH being added.
3 new test with no-expander on columns (case only empty Data-attribute no-expander, Data-attribute no-expander = false & Data-attribute no-expander = true)
This is a great PR! I was wonder if there is a good way to pass in valign attributes to tables. This may solve it. Have to see why the build is failing before merging. |
…target Add optional 'target' attribute for <button>
Added data-attribute no-expander to <columns> to disable the .expander
Checks 8&9 where already failed when I forked the repo. 1-7 are stumping me as to why they are failing. The code seems to be working fine on my end. |
…key` a variable, switch align and class for menu item
…into attributes Conflicts: lib/componentFactory.js
Sweet! Looking to get #37 across the line as well as this killer PR for 6.2.2! |
@brandonbarringer Testing this out today - looks like the attributes are being passed in on the row but not the columns. It would be ideal to be able to pass in attributes onto the columns as well. Things like:
Are you able to add that to this feature? |
Made a small change to the function to allow multiple attributes as well as a test for columns. Hope that helps you add the columns attributes. Let me know if questions come up! |
Sure. I will get something pushed up soon. |
…key` a variable, switch align and class for menu item
Alright. I was able to add the same functionality to the columns by creating a utility function. Let me know if you have any issues with the way this was implemented. I had to change the structure a bit to get it to work across modules. |
Amazing PR! This is great because we tested out vertical alignment and source ordering with this and it works great! foundation/foundation-emails@d9353f0 2.2 is looking like it's feature rich thanks to your help! |
Glad I could help. Really love this framework and plan on contributing as much I can as I continue using it. Let me know if there is anything else I can help with! |
Is it possible to copy stuff like title to the element?
gives me with the latest version
You would expect the title and target attribute on the a-tag rather than on the th-tag. How can we fix this? Thanks |
Grabs all the attributes on an inky element, minus 'class', 'id', and 'href', and adds those attributes to the outputted html