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

Creation of the property "max-width" #541

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Creation of the property "max-width" #541

wants to merge 1 commit into from

Conversation

caio000
Copy link

@caio000 caio000 commented Oct 30, 2017

I created property "max-width" to set the maximum width of the element, following your code.

I'm waiting your comments!

+            if (typeof attrs.maxWidth !== 'undefined') {
+              var layer = element.children().children();
+              angular.element( layer ).attr( "style", "width:" + attrs.maxWidth + "; overflow-x:scroll;");
+            }

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.

1 participant