trailheadapps / dreamhouse-lwc

Sample application for Lightning Web Components on Salesforce Platform. Part of the sample gallery. Real estate use case. Get inspired and learn best practices.
https://developer.salesforce.com
Apache License 2.0
382 stars 766 forks source link

Lighning-input compression for mobile #489

Closed albarivas closed 1 year ago

albarivas commented 1 year ago

What does this PR do?

Fix missing LWC if/else directives Adds example of using the new mediaUtils library to compress and resize images (especially suitable for mobile)

What issues does this PR fix or reference?

The PR fulfills these requirements:

[x] Tests for the proposed changes have been added/updated. [x] Code linting and formatting was performed.

Functionality Before

<insert gif and/or summary>

Functionality After

<insert gif and/or summary>

github-actions[bot] commented 1 year ago

⚠️ CodeTour Watch

Changed files with possible CodeTour impact:

Impacted CodeTour files:

Make sure to review CodeTour files and update line numbers accordingly.