You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					33 lines
				
				1.1 KiB
			
		
		
			
		
	
	
					33 lines
				
				1.1 KiB
			| 
								 
											2 years ago
										 
									 | 
							
								<wxs src="../wxs/utils.wxs" module="utils" />
							 | 
						||
| 
								 | 
							
								<wxs src="./index.wxs" module="computed" />
							 | 
						||
| 
								 | 
							
								<textarea
							 | 
						||
| 
								 | 
							
								  id="{{ name }}"
							 | 
						||
| 
								 | 
							
								  class="{{ utils.bem('field__control', [inputAlign, type, { disabled, error }]) }} input-class"
							 | 
						||
| 
								 | 
							
								  fixed="{{ fixed }}"
							 | 
						||
| 
								 | 
							
								  focus="{{ focus }}"
							 | 
						||
| 
								 | 
							
								  cursor="{{ cursor }}"
							 | 
						||
| 
								 | 
							
								  value="{{ innerValue }}"
							 | 
						||
| 
								 | 
							
								  auto-focus="{{ autoFocus }}"
							 | 
						||
| 
								 | 
							
								  disabled="{{ disabled || readonly }}"
							 | 
						||
| 
								 | 
							
								  maxlength="{{ maxlength }}"
							 | 
						||
| 
								 | 
							
								  placeholder="{{ placeholder }}"
							 | 
						||
| 
								 | 
							
								  placeholder-style="{{ placeholderStyle }}"
							 | 
						||
| 
								 | 
							
								  placeholder-class="{{ utils.bem('field__placeholder', { error, disabled }) }}"
							 | 
						||
| 
								 | 
							
								  auto-height="{{ !!autosize }}"
							 | 
						||
| 
								 | 
							
								  style="{{ computed.inputStyle(autosize) }}"
							 | 
						||
| 
								 | 
							
								  cursor-spacing="{{ cursorSpacing }}"
							 | 
						||
| 
								 | 
							
								  adjust-position="{{ adjustPosition }}"
							 | 
						||
| 
								 | 
							
								  show-confirm-bar="{{ showConfirmBar }}"
							 | 
						||
| 
								 | 
							
								  hold-keyboard="{{ holdKeyboard }}"
							 | 
						||
| 
								 | 
							
								  selection-end="{{ selectionEnd }}"
							 | 
						||
| 
								 | 
							
								  selection-start="{{ selectionStart }}"
							 | 
						||
| 
								 | 
							
								  disable-default-padding="{{ disableDefaultPadding }}"
							 | 
						||
| 
								 | 
							
								  bindinput="onInput"
							 | 
						||
| 
								 | 
							
								  bindtap="onClickInput"
							 | 
						||
| 
								 | 
							
								  bindblur="onBlur"
							 | 
						||
| 
								 | 
							
								  bindfocus="onFocus"
							 | 
						||
| 
								 | 
							
								  bindconfirm="onConfirm"
							 | 
						||
| 
								 | 
							
								  bindlinechange="onLineChange"
							 | 
						||
| 
								 | 
							
								  bindkeyboardheightchange="onKeyboardHeightChange"
							 | 
						||
| 
								 | 
							
								/>
							 |