McNull / angular-block-ui

AngularJS Block UI Module
MIT License
349 stars 108 forks source link

Change block-ui default location #95

Closed erickne closed 8 years ago

erickne commented 8 years ago

I tried to set in na specific div but it keeps showing in full screen. How can I use block-ui for all request (as default) but show only in <div class="content"></div>?

McNull commented 8 years ago

Hi,

You can relocate the main blockUI instance by setting autoInjectBodyBlock to false in the configuration and marking your custom element with block-ui="main".

See this plunker for more info.