16 lines
444 B
JavaScript
16 lines
444 B
JavaScript
import { LightningElement } from 'lwc';
|
|
export default class App extends LightningElement {
|
|
name = 'Electra X4';
|
|
description = 'A sweet bike built for comfort.';
|
|
category = 'Mountain';
|
|
material = 'Steel';
|
|
price = '$2,700';
|
|
time=10000;
|
|
pictureUrl = 'https://s3-us-west-1.amazonaws.com/sfdc-demo/ebikes/electrax4.jpg';
|
|
ready = false;
|
|
connectedCallback() {
|
|
setTimeout(() => {
|
|
this.ready = true;
|
|
}, this.time);
|
|
}
|
|
} |