kopia lustrzana https://github.com/shoelace-style/shoelace
				
				
				
			remove unnecessary bindings
							rodzic
							
								
									9a89c14e20
								
							
						
					
					
						commit
						83fbe9eccc
					
				|  | @ -186,7 +186,7 @@ export default class SlAlert extends LitElement { | |||
|         aria-live="assertive" | ||||
|         aria-atomic="true" | ||||
|         aria-hidden=${this.open ? 'false' : 'true'} | ||||
|         @mousemove=${this.handleMouseMove.bind(this)} | ||||
|         @mousemove=${this.handleMouseMove} | ||||
|       > | ||||
|         <span part="icon" class="alert__icon"> | ||||
|           <slot name="icon"></slot> | ||||
|  | @ -203,7 +203,7 @@ export default class SlAlert extends LitElement { | |||
|                   exportparts="base:close-button" | ||||
|                   name="x" | ||||
|                   library="system" | ||||
|                   @click=${this.handleCloseClick.bind(this)} | ||||
|                   @click=${this.handleCloseClick} | ||||
|                 ></sl-icon-button> | ||||
|               </span> | ||||
|             ` | ||||
|  |  | |||
|  | @ -219,7 +219,7 @@ export default class SlRating extends LitElement { | |||
|                   'rating__symbol--hover': this.isHovering && Math.ceil(displayValue) === index + 1 | ||||
|                 })} | ||||
|                 role="presentation" | ||||
|                 @mouseenter=${this.handleMouseEnter.bind(this)} | ||||
|                 @mouseenter=${this.handleMouseEnter} | ||||
|               > | ||||
|                 ${unsafeHTML(this.getSymbol(index + 1))} | ||||
|               </span> | ||||
|  |  | |||
|  | @ -333,10 +333,10 @@ export default class SlTextarea extends LitElement { | |||
|                 hasHelpTextSlot: this.hasHelpTextSlot | ||||
|               }) | ||||
|             )} | ||||
|             @change=${this.handleChange.bind(this)} | ||||
|             @input=${this.handleInput.bind(this)} | ||||
|             @focus=${this.handleFocus.bind(this)} | ||||
|             @blur=${this.handleBlur.bind(this)} | ||||
|             @change=${this.handleChange} | ||||
|             @input=${this.handleInput} | ||||
|             @focus=${this.handleFocus} | ||||
|             @blur=${this.handleBlur} | ||||
|           ></textarea> | ||||
|         </div> | ||||
|       ` | ||||
|  |  | |||
|  | @ -311,7 +311,7 @@ export default class SlTooltip extends LitElement { | |||
| 
 | ||||
|   render() { | ||||
|     return html` | ||||
|       <slot @slotchange=${this.handleSlotChange.bind(this)}></slot> | ||||
|       <slot @slotchange=${this.handleSlotChange}></slot> | ||||
| 
 | ||||
|       <div class="tooltip-positioner"> | ||||
|         <div | ||||
|  |  | |||
		Ładowanie…
	
		Reference in New Issue
	
	 Cory LaViska
						Cory LaViska