mirror of
https://github.com/material-components/material-web.git
synced 2024-10-27 14:07:17 +03:00
run formatter
This commit is contained in:
parent
3bd7192318
commit
ab84944564
@ -22,7 +22,7 @@ import {Checkbox} from '@material/mwc-checkbox';
|
||||
import {html, property, query} from 'lit-element';
|
||||
import {classMap} from 'lit-html/directives/class-map';
|
||||
|
||||
import {ListItemBase, RequestSelectedDetail, GraphicType} from './mwc-list-item-base';
|
||||
import {GraphicType, ListItemBase, RequestSelectedDetail} from './mwc-list-item-base';
|
||||
|
||||
export class CheckListItemBase extends ListItemBase {
|
||||
@query('slot') protected slotElement!: HTMLSlotElement|null;
|
||||
@ -48,7 +48,9 @@ export class CheckListItemBase extends ListItemBase {
|
||||
};
|
||||
|
||||
const text = this.renderText();
|
||||
const graphic = this.graphic && this.graphic !== 'control' && !this.left ? this.renderGraphic() : html``;
|
||||
const graphic = this.graphic && this.graphic !== 'control' && !this.left ?
|
||||
this.renderGraphic() :
|
||||
html``;
|
||||
const meta = this.hasMeta && this.left ? this.renderMeta() : html``;
|
||||
|
||||
return html`
|
||||
|
@ -22,7 +22,7 @@ import {Radio} from '@material/mwc-radio';
|
||||
import {html, property, query} from 'lit-element';
|
||||
import {classMap} from 'lit-html/directives/class-map';
|
||||
|
||||
import {ListItemBase, RequestSelectedDetail, GraphicType} from './mwc-list-item-base';
|
||||
import {GraphicType, ListItemBase, RequestSelectedDetail} from './mwc-list-item-base';
|
||||
|
||||
export class RadioListItemBase extends ListItemBase {
|
||||
@query('slot') protected slotElement!: HTMLSlotElement|null;
|
||||
@ -50,7 +50,9 @@ export class RadioListItemBase extends ListItemBase {
|
||||
};
|
||||
|
||||
const text = this.renderText();
|
||||
const graphic = this.graphic && this.graphic !== 'control' && !this.left ? this.renderGraphic() : html``;
|
||||
const graphic = this.graphic && this.graphic !== 'control' && !this.left ?
|
||||
this.renderGraphic() :
|
||||
html``;
|
||||
const meta = this.hasMeta && this.left ? this.renderMeta() : html``;
|
||||
|
||||
return html`
|
||||
|
Loading…
Reference in New Issue
Block a user