Lines Matching defs:attrs
15 attrs: jQuery.extend(
32 * @param {object} attrs the values to use
35 function getGalleryFormFields(attrs) {
41 value: attrs['namespace'],
49 value: attrs['thumbnailsize'],
57 value: attrs['imagesize'],
64 checked: attrs['cache'],
70 value: attrs['filter'],
77 checked: attrs['showname'],
84 checked: attrs['showtitle'],
91 checked: attrs['crop'],
98 checked: attrs['direct'],
105 checked: attrs['lightbox'],
112 checked: attrs['reverse'],
119 checked: attrs['recursive'],
126 checked: attrs['align'] === 'left',
133 checked: attrs['align'] === 'center',
140 checked: attrs['align'] === 'right',
146 value: attrs['cols'],
153 value: attrs['limit'],
160 value: attrs['offset'],
167 value: attrs['paginate'],
175 checked: attrs['sort'] === 'filesort',
182 checked: attrs['sort'] === 'random',
189 checked: attrs['sort'] === 'modsort',
196 checked: attrs['sort'] === 'datesort',
203 checked: attrs['sort'] === 'titlesort',
228 newAttrs = Object.entries(this.node.type.attrs).reduce(
256 * @param {object} attrs
259 function retrieveRenderedHTML(attrs, nodeview) {
263 'attrs': JSON.stringify(attrs),
265 var newAttrs = jQuery.extend({}, attrs);
295 getGalleryFormFields(node.attrs)
308 * @param attrs
310 GalleryNodeView.prototype.renderNode = function (attrs) {
324 if (!attrs.renderedHTML) {
325 retrieveRenderedHTML(attrs, this);
328 var $renderedWrapper = jQuery(attrs.renderedHTML);
348 this.renderNode(node.attrs);
387 var defaultAttributes = Object.entries(schema.nodes.dwplugin_gallery.attrs)