The uni-app and view text tag

view Tags:

As div using common properties view of tags: hover-class, the effect produced by the finger tap, the uni-app not used: horver

Examples: Use horver-class and with animate.css

 <-! Horver-class finger tap is the element bounceIn effect produced is the ultimate effect, so bounceIn written in horver-class, and then write in the class in animated -> 
 < View class = "Box animated" hover the -class = "bounceIn" > </ View >

 

 

text Tags:

(1) text label common properties: selectable, if false, then, can not select the text, true can select the text

example:

 <-! : Whether the text of the appropriate selectable optional, to true / false -> 
< text : of the appropriate selectable = 'false' > This is some text </ text >

 

(2) text label characters wrap: \ n  

example:

 <-! Text linefeed backslash n- -> 
< text > Text \ n second line of text \ n </ text >

effect:

 

 

 

(3) text label in the text box & nbsp;

example:

<! - blank -> 
< text > Text & nbsp; spaces </ text >

effect:

 

Guess you like

Origin www.cnblogs.com/luguankun/p/11484182.html