Skip to content

Lightbox service: support custom inline templates#82

Open
victor-o-silva wants to merge 1 commit intocompact:masterfrom
victor-o-silva:inline-templates
Open

Lightbox service: support custom inline templates#82
victor-o-silva wants to merge 1 commit intocompact:masterfrom
victor-o-silva:inline-templates

Conversation

@victor-o-silva
Copy link

Support custom inline templates in addition to custom template paths.

angular.module('app').config(function (LightboxProvider) {
  // set a custom template
  LightboxProvider.template = '<h2>Customized</h2><img lightbox-src="{{Lightbox.imageUrl}}"><h2>lightbox</h2>';
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant