We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image
The text was updated successfully, but these errors were encountered:
图片加载过程中先展示一个展位图是很必要的。 上图(左)没有展位图
defaultSource
A static image to display while loading the image source.
利用Animated和opacity更丝滑的切换展位图和实际图。
Animated
opacity
Sorry, something went wrong.
ImageBackground组件为了实现CSS中background-image的功能。它通过展示一个Image组件作为另外一个组件的背景图片。
ImageBackground
background-image
ImageBackground组件创建的背景图所占的尺寸到底是谁的呢?是其子组件的尺寸么?
ImageBackground组件内部创建了一个Image组件,同时也创建一个View组件(就是上面提到的另外一个组件)作为Image组件容器, 这也是背景图占据的尺寸。
View
并且ImageBackground组件接受跟Image组件一样的props,除了一个区别 :
style
imageStyle
imageRef
No branches or pull requests
Image
组件The text was updated successfully, but these errors were encountered: