Skip to content

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