var $name = {};

  ons.createElement('$name', { append: true })
    .then(function (sheet) {
      $name.showActionSheet = sheet.show.bind(sheet);
      $name.hideActionSheet = sheet.hide.bind(sheet);
    });