Readonly
yogaGets/sets ripple effect enabled for view. You should set UI.View#rippleColor rippleColor to see the effect.
= false]
UI.View
3.2.1
Gets/sets ripple effect color for view.
UI.View
3.2.1
Gets/Sets the elevation of the view. For the views that has StateListAnimator natively like Button, will lost its own StateListAnimation when elevation value changed. For details : https://developer.android.com/training/material/shadows-clipping.html
UI.View
1.1.12
Gets/sets the depth location of the view relative to its elevation. To put view over button, you have to change zIndex value after Android Lollipop. On android, default elevation value of button is bigger than other view. This property affects after Android Lollipop. No-op before api level 21.
UI.View
2.0.8
Sets/gets top-left corner radius of a view.
= 0]
5.1.1
Sets/gets top-right corner radius of a view.
= 0]
5.1.1
Sets/gets top-start corner radius of a view.
= -1]
5.1.1
Sets/gets top-end corner radius of a view.
= -1]
5.1.1
Sets/gets bottom-left corner radius of a view.
= 0]
5.1.1
Sets/gets bottom-right corner radius of a view.
= 0]
5.1.1
Sets/gets bottom-start corner radius of a view.
= -1]
5.1.1
Sets/gets bottom-end corner radius of a view.
= -1]
5.1.1
Gets/sets over-scroll mode for this view.
= UI.Android.OverScrollMode.ALWAYS]
3.2.1
Sets/Gets the current page which contains the webview.
2.0.10
Sets/Gets the visibility of zoom controls.
4.3.4
Optional
onThis event will be triggered when user clicks back button on the Device. WebView is focusable view. When it gains focus, this event begin to trigger. The purpose of using this event might be navigating back to pervious web pages.
onBackButtonPressed
3.2.1
import WebView from '@smartface/native/ui/webview';
const webView = new WebView();
webView.on(WebView.Events.BackButtonPressed, () => {
console.info('onBackButtonPressed');
});
Optional
onReport a JavaScript console message to the host application.
onConsoleMessage
4.0.4
import WebView from '@smartface/native/ui/webview';
const webView = new WebView();
webView.on(WebView.Events.ConsoleMessage, (params) => {
console.info('onConsoleMessage', params);
});
The name of the source file that caused the error.
The error message to report.
The line number of the error.
The message level of the report
Generated using TypeDoc
Gets/sets foreground of the view for ripple effect. This property should be set before rippleColor. This property only supported for api level 23 and above.
Property
= false]
Android
Member
UI.View
Since
4.0.2