import { Injectable } from '@angular/core' ; import { ActionSheet } from './action-sheet' ; import { ActionSheetOptions } from './action-sheet-options' ; import { App } from '../app/app' ; import { Config } from '../../config/config' ; name description usage advanced demo see {@link /docs/components#action-sheets ActionSheet Component Docs} @ Injectable ( ) export class ActionSheetController { constructor ( private _app , public config ) { } param { ActionSheetOptions } opts create ( opts = { } ) { return new ActionSheet ( this . _app , opts , this . config ) ; } }