4.2.0 • Published 2 years ago

wb-alert2 v4.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

wb-alert2 Version=4.2.0

alert all types of data with customized output (depth, displaying,..) and without interruption running code.

Props items

items: an array of data to alert. see ???

Props layout

layout: the style of the output

Syntax

<WBAlert layout="" item="[['item1',item1.1,item1.2,..],'item2',...]">
</WBAlert>

Example

props layout

Case layout is an object (can be style object or wbc attributes..)

    layout:{style:{'background-color':'blue','font-size': '0.275em'}};

Case layout is a text (class bootstrap or vuetify or ....)

    layout:'red ma-16 text-h4';

props items

      items = [
        '%c green',
    9999999,
    ['item1','item1.1','item1.2','item2'],
    '%c red',
    ['item1','item1.1','item1.2','item2'],
    {a:1,b:2,c:3,d:4},
      ];
4.2.0

2 years ago