The namespace for the BottomSheet widget is mBottomSheetObject. It contains the following methods:
Ensures that the garbage collection process of a BottomSheet occurs, and the data of the BottomSheet is wiped out. So, the next time a BottomSheet is displayed, a new instance of the BottomSheet is created.
Syntax
destroy()
Example
var mBottomSheetObject = new kony.ui.BottomSheet({}); //Destroying a widget using destroy method. testForm.mBottomSheetObject.destroy();
Platform Availability
Dismisses a BottomSheet widget for users.
Syntax
dismiss()
Example
var mBottomSheetObject= new kony.ui.BottomSheet({}); //Dismissing a widget using dismiss method. testForm.mBottomSheetObject.dismiss();
Platform Availability
Displays a BottomSheet widget for users.
Syntax
show()
Example
var mBottomSheetObject = new kony.ui.BottomSheet({}); //Showing a widget using show method. testForm.mBottomSheetObject.show();
Platform Availability
Sets the state of a BottomSheet widget as Expanded or Collapsed.
Syntax
setState()
Constants
Example
var mBottomSheetObject = new kony.ui.BottomSheet({}); //Collapsing a bottomSheet widget using setState method. mBottomSheetObject.setState(constants.BOTTOM_SHEET_STATE_COLLAPSED);
Platform Availability
prem | Copyright © 2012 Kony, Inc. All rights reserved. |
prem | Copyright © 2012 Kony, Inc. All rights reserved. |