You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
classCustomDragElementextendsPolymer.Element{staticgetproperties(){return{/* * `placeholder` the Element to use as sortable placeholder */placeholder: {type: Object},/* * `placeholderContent` content of placeholder */placeholderContent: {type: String,value: 'new question'}}connectedCallback(){super.connectedCallback();Polymer.RenderStatus.afterNextRender(this,()=>{// set placeholder as HTMLElementthis.placeholder=this.$.placeholder;this.addEventListener('sort-start',this._onSortStart);});}_onSortStart(e){console.info(e);this.placeholderContent= ... handlelogictochangeplaceholdercontent ...
}}
As for #488, will submit a PR soon (with much less code change as this is really a simple change)
The text was updated successfully, but these errors were encountered:
Motivation:
As for #488, will submit a PR soon (with much less code change as this is really a simple change)
The text was updated successfully, but these errors were encountered: