File "content.js"
Full Path: /home/warrior1/public_html/wp-content/plugins/astra-sites/inc/assets/js/src/content.js
File size: 501 bytes
MIME-type: text/plain
Charset: utf-8
wp.media.view.AstraSearch = require( './search.js' );
var AstraContent = wp.media.View.extend({
tagName: 'div',
className: 'ast-attachments-search-wrap',
initialize: function() {
this.value = this.options.value;
},
render: function() {
var search = new wp.media.view.AstraSearch({
controller: this.controller,
model: this.model,
});
this.views.add( search );
return this;
}
});
module.exports = AstraContent;