BlockUI Module Name: BlockUIModule

Module Name: BlockUIModule

The BlockUI is used to block some content for a determined time.

Showcase
Basic

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

<div class="blockui" [tlBlockui]="basic"></div>
With Message
Loading...

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

<div class="blockui" [tlBlockui]="message" [blockuiConfig]="{'spin': true, 'icon': 'ion ion-ios-sync', 'message': 'Loading...'}"></div>
Spin OFF

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

<div class="blockui" [tlBlockui]="spinOff" [blockuiConfig]="{'spin': false, 'icon': 'fas fa-times-circle'}"></div>
Message & Spin false
Content Blocked

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

<div class="blockui" [tlBlockui]="spinOffMessage" [blockuiConfig]="{'spin': false, 'icon': 'fas fa-exclamation-triangle', 'message': 'Content Blocked'}"></div>
Properties
NameTypeDefaultDescriptionOptions
blockuiConfigObjectnullObject config blockUI. Object
blockuiConfig.iconstringfas fa-sync-altIcon to be shown. icon class
blockuiConfig.messagestringnullMessage that will appear bellow the icon. any text
blockuiConfig.spinbooleanfalseHandle that control if icon will spin or not. true | false
dimensionsFromstringclientChoose which element to take the dimensions of Hight and Width parent | client