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

Add Text alignment option #14

Merged
merged 1 commit into from
Jan 14, 2020
Merged

Add Text alignment option #14

merged 1 commit into from
Jan 14, 2020

Conversation

jirevwe
Copy link
Contributor

@jirevwe jirevwe commented Jan 14, 2020

Adds text-alignment option

@jirevwe jirevwe requested a review from noxecane January 14, 2020 17:26
Comment on lines +35 to +38
const textAlignment =
this.style === undefined || this.style.align === undefined
? "left"
: this.style.align;
Copy link
Contributor

Choose a reason for hiding this comment

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

typescript 3.7

const textAlignment = this.?style.?align ?? "left"

@noxecane noxecane merged commit c703581 into ref/v-dom-style Jan 14, 2020
@noxecane noxecane deleted the feat-text-alignment branch January 14, 2020 17:52
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.

2 participants