-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature/inputter-styles #137
Conversation
andij
commented
Jan 4, 2022
•
edited
Loading
edited
- initial styling for details component in the inputter
- initial styling for input 'elements and types' listed in Create inputter component #28
- include a technique to replace icons in some input types
packages/library/components/inputter/src/inputter-detail-styles.css
Outdated
Show resolved
Hide resolved
…-engineering/muon into feature/inputter-styles
`; | ||
} | ||
} | ||
|
||
return undefined; | ||
} | ||
|
||
get _inputTypeIcon() { | ||
let icon; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't need a let here can just be a return. But this can be done in another PR
} else { | ||
this._inputType = this._inputTypes.SINGLE; | ||
get _inputType() { | ||
if(!this.__inputType) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This wrapper isn't required, if someone changed the input type this would then not update
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Every time doing querySelector
will be a performance issue.