说明:左边是正常版本,右边是拍平版本
align-self: auto
align-self: center
align-self: flex-start
align-self: flex-end
align-self: stretch
scroll-view 组件
align-self: center
align-self: flex-start
setProperty 设置与 getPropertyValue 获取
view 组件
设置值: {{data.alignSelf}}
获取值: {{data.alignSelfActual}}
view
text 组件
设置值: {{data.alignSelf}}
获取值: {{data.alignSelfActualText}}
text
image 组件
设置值: {{data.alignSelf}}
获取值: {{data.alignSelfActualImage}}
view 组件拍平
设置值: {{data.alignSelf}}
获取值: {{data.alignSelfActualFlat}}
view
text 组件拍平
设置值: {{data.alignSelf}}
获取值: {{data.alignSelfActualTextFlat}}
text
image 组件拍平
设置值: {{data.alignSelf}}
获取值: {{data.alignSelfActualImageFlat}}
第一个枚举值,'' (空字符串) - 空值情况
native-view 组件:align-self: center 和 flex-start
native-view 作为 flex 子项