Sha256: e56404edfec7b45f5003b4b76012dede3ab4dfd7ecf8de868229c408de25c116
Contents?: true
Size: 574 Bytes
Versions: 145
Compression:
Stored size: 574 Bytes
Contents
window.GOVUK = window.GOVUK || {} window.GOVUK.Modules = window.GOVUK.Modules || {}; (function (Modules) { function ImageCard ($module) { this.$module = $module this.$module.youtubeLink = this.$module.querySelector('.gem-c-image-card__image-wrapper div') } ImageCard.prototype.init = function () { var ytLink = new window.GOVUK.GovspeakYoutubeLinkEnhancement( this.$module.youtubeLink, 'gem-c-govspeak__youtube-video gem-c-image-card__youtube-video-embed' ) ytLink.init() } Modules.ImageCard = ImageCard })(window.GOVUK.Modules)
Version data entries
145 entries across 145 versions & 1 rubygems