Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

Metronic 8 - html - KTApp.blockPage, KTApp.unblockPage, KTApp.block and KTApp.unblock


Dear support!

I am using Metronic 8.1.5 HTML theme and I would like to known if this version has the functionalities KTApp.blockPage, KTApp.unblockPage, KTApp.block and KTApp.unblock. If not, which is the equivalent for:

KTApp.blockPage({
overlayColor: '#000000',
state: 'primary',
message: 'Wait...'
});

KTApp.unblockPage();

KTApp.block('#col_sector', {
overlayColor: 'red',
opacity: 0.1,
state: 'primary' // a bootstrap color
});

KTApp.unblock('#col_sector');

Thanks


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (1)


Hi,

Metronic v8 has KTBlock component to block elements and you can check its documentation page here.

To use Metronic v8 page loading you can refer to this post

Regards.


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(