Sets/Gets the bounce effect when scrolling.
3.2.1
The behavior for determining the adjusted content offsets.
= UI.iOS.ContentInsetAdjustment.NEVER]
4.0.0
Setting this property to TRUE causes the receiver to block the delivery of touch events to other views. The default value of this property is false
= false]
2.0.10
A Boolean value that determines whether subviews are confined to the bounds of the view.
= false]
1.1.15
A Boolean value that determines whether subviews are confined to the bounds of the view.
= false]
Use view.maskToBounds instead
1.1.15
The offset (in points) of the shadow. This will set "masksToBounds" property to false.
view.masksToBounds = false;
view.ios.shadowOffset = {x:10,y:10};
view.ios.shadowRadius = 5;
view.ios.shadowOpacity = 0.5;
view.ios.shadowColor = Color.GRAY;
= {x: 0.0,y: -3.0}]
2.0.6
The blur radius (in points) used to render the shadow. masksToBounds" property must be false for shadow.
= 3]
2.0.6
The value in this property must be in the range 0.0 (transparent) to 1.0 (opaque). "masksToBounds" property must be false for shadow.
= 0]
2.0.6
The color of the shadow. "masksToBounds" property must be false for shadow.
= UI.Color.BLACK]
Use UI.View#shadowColor
2.0.6
Changes the direction of unreachable child views of all components. These components are HeaderBar, BottomBar, Material Textbox, Searchview, SwipeView etc.
= UI.View.iOS.SemanticContentAttribute.AUTO]
3.1.3
Disables a view transition animation.
performWithoutAnimation
4.2.1
This event is called when the scroll view is about to start scrolling the content.
3.2.1
import ScrollView from '@smartface/native/ui/scrollview';
const scrollView = new ScrollView();
scrollView.on(ScrollView.Events.ScrollBeginDragging, (params) => {
console.info('onScrollBeginDragging', params);
});
This event is called when the scroll view is starting to decelerate the scrolling movement.
3.2.1
import ScrollView from '@smartface/native/ui/scrollview';
const scrollView = new ScrollView();
scrollView.on(ScrollView.Events.ScrollBeginDecelerating, (params) => {
console.info('onScrollBeginDecelerating', params);
});
This event is called when the scroll view has ended decelerating the scrolling movement.
3.2.1
import ScrollView from '@smartface/native/ui/scrollview';
const scrollView = new ScrollView();
scrollView.on(ScrollView.Events.ScrollEndDecelerating, (params) => {
console.info('onScrollEndDecelerating', params);
});
This event is called when dragging ended in the scroll view.
3.2.1
import ScrollView from '@smartface/native/ui/scrollview';
const scrollView = new ScrollView();
scrollView.on(ScrollView.Events.ScrollEndDraggingWillDecelerate, (params) => {
console.info('onScrollEndDraggingWillDecelerate', params);
});
onScrollEndDraggingWillDecelerate
This event is called when the user finishes scrolling the content.
3.2.1
import ScrollView from '@smartface/native/ui/scrollview';
const scrollView = new ScrollView();
scrollView.on(ScrollView.Events.ScrollEndDraggingWithVelocityTargetContentOffset, (params) => {
console.info('onScrollEndDraggingWithVelocityTargetContentOffset', params);
});
Generated using TypeDoc
If the value of this property is YES , scrolling is enabled, and if it is NO , scrolling is disabled. The default is YES.
Property
= true]
Ios
Since
3.1.3