Skip to main content

material-textinput

material-textinput

 

 دارای اتریبیوت های زیر میباشد

: starticon ↵  

. میباشد url مقدار داده شده به آن از نوع       

: showstarticon ↵  

. میباشد boolean مقدار داده شده به آن از نوع       

: endicon ↵  

. میباشد url مقدار داده شده به آن از نوع       

: erroricon ↵  

. میباشد url مقدار داده شده به آن از نوع       

: rtl ↵  

    . میگیرد boolean نشان میدهد جهت راست به چپ است یا برعکس . هیمنطور مقدار       

: expandHint↵expandHint ↵  

. مقدار داده شده به هینت را نشان میدهد       

 : endiconmode↵endiconmode ↵  

: مقادیر زیر را میگیرد       

'clear_text' و 'password_toggle' و 'none' و 'dropdown' و 'custom'  

: دارد placeholder  همچنین اتریبیوت هایی برای هینت و 

defaulthintcolor ↵ 

collapsedhintcolor ↵  

placeholderhintcolor ↵  

placeholder ↵   

 

 

:نمونه کد آن به صورت زیر است

<frame width="328" height="56"  borderCornerRadius="5"  >
	<material-textinput width="328" height="56" expandHint="true" background="white" >
		<textinput hint="which" ></textinput>
			<autocompletetextinput id="in" threshold="2">
				<suggestion text="one" value="one"  />
				<suggestion text="two" value="two"/>
				<suggestion  text="three" value="three"/>
		</autocompletetextinput>
	</material-textinput>
</frame>