[Imagery Plugin] Data integration facilitation (#3397)

* added data attrs for keystring and timestamp as well as class for targeting

* rename js class

Co-authored-by: Andrew Henry <akhenry@gmail.com>
This commit is contained in:
Jamie V 2020-10-05 11:02:04 -07:00 committed by GitHub
parent 5f7e34ce6c
commit a91179091f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,10 +22,12 @@
></a>
</span>
</div>
<div class="main-image s-image-main c-imagery__main-image has-local-controls"
<div class="main-image s-image-main c-imagery__main-image has-local-controls js-imageryView-image"
:class="{'paused unnsynced': paused(),'stale':false }"
:style="{'background-image': getImageUrl() ? `url(${getImageUrl()})` : 'none',
'filter': `brightness(${filters.brightness}%) contrast(${filters.contrast}%)`}"
:data-openmct-image-timestamp="getTime()"
:data-openmct-object-keystring="keystring"
>
<div class="c-local-controls c-local-controls--show-on-hover c-imagery__prev-next-buttons">
<button class="c-nav c-nav--prev"
@ -92,7 +94,8 @@ export default {
isPaused: false,
metadata: {},
requestCount: 0,
timeFormat: ''
timeFormat: '',
keystring: ''
};
},
computed: {