How to use the onsenui/core-src/ons/ons.ActionSheetElement function in onsenui

To help you get started, we’ve selected a few onsenui examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github btpka3 / btpka3.github.com / js / angular / my-ng4 / srcBak / app / ons-ex / setup.js View on Github external
import SplitterSideElement from 'onsenui/core-src/elements/ons-splitter-side';
import SplitterElement from 'onsenui/core-src/elements/ons-splitter';
import SwitchElement from 'onsenui/core-src/elements/ons-switch';
import TabElement from 'onsenui/core-src/elements/ons-tab';
import TabbarElement from 'onsenui/core-src/elements/ons-tabbar';
import ToastElement from 'onsenui/core-src/elements/ons-toast';
import ToolbarButtonElement from 'onsenui/core-src/elements/ons-toolbar-button';
import ToolbarElement from 'onsenui/core-src/elements/ons-toolbar';

if (window.ons) {
  ons._util.warn('Onsen UI is loaded more than once.');
}

ons.TemplateElement = TemplateElement;
ons.IfElement = IfElement;
ons.ActionSheetElement = ActionSheetElement;
ons.ActionSheetButtonElement = ActionSheetButtonElement;
ons.AlertDialogElement = AlertDialogElement;
ons.AlertDialogButtonElement = AlertDialogButtonElement;
ons.BackButtonElement = BackButtonElement;
ons.BottomToolbarElement = BottomToolbarElement;
ons.ButtonElement = ButtonElement;
ons.CardElement = CardElement;
ons.CarouselItemElement = CarouselItemElement;
ons.CarouselElement = CarouselElement;
ons.ColElement = ColElement;
ons.DialogElement = DialogElement;
ons.FabElement = FabElement;
ons.GestureDetectorElement = GestureDetectorElement;
ons.IconElement = IconElement;
ons.LazyRepeatElement = LazyRepeatElement;
ons.ListHeaderElement = ListHeaderElement;