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

Feature/inputter-styles #137

Merged
merged 43 commits into from
Jan 31, 2022
Merged

Feature/inputter-styles #137

merged 43 commits into from
Jan 31, 2022

Conversation

andij
Copy link
Contributor

@andij andij commented Jan 4, 2022

  • 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

@andij andij changed the base branch from feature/detail-mixin to main January 7, 2022 16:49
@andij andij mentioned this pull request Jan 27, 2022
1 task
`;
}
}

return undefined;
}

get _inputTypeIcon() {
let icon;
Copy link
Contributor

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) {
Copy link
Contributor

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

Copy link
Contributor

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.

@andij andij merged commit 5def122 into main Jan 31, 2022
@andij andij deleted the feature/inputter-styles branch January 31, 2022 15:47
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