Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Create Chainable API for Interim Elements #597

Closed
rschmukler opened this issue Nov 10, 2014 · 1 comment
Closed

Create Chainable API for Interim Elements #597

rschmukler opened this issue Nov 10, 2014 · 1 comment

Comments

@rschmukler
Copy link
Contributor

Example:

$mdDialog.build()
  .templateUrl('etc')
  .show()

and

$mdDialog.basic()
  .title('Hello World')
  .description('Hello world')
  .ok('Okay')
  .cancel('Forget it')
  .show()
@ThomasBurleson
Copy link
Contributor

Another option is the ability to pass a configuration object .build( config ) that itself has an chainable API.

@ThomasBurleson ThomasBurleson added this to the 0.6.0-rc1 milestone Nov 13, 2014
rschmukler added a commit that referenced this issue Nov 16, 2014
rschmukler added a commit that referenced this issue Nov 17, 2014
rschmukler added a commit that referenced this issue Nov 17, 2014
rschmukler added a commit that referenced this issue Nov 17, 2014
rschmukler added a commit that referenced this issue Nov 17, 2014
rschmukler added a commit that referenced this issue Nov 17, 2014
rschmukler added a commit that referenced this issue Nov 17, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants