poeta-alertdeprecated

Alert for bundle Vue component or plugin

Usage no npm install needed!

<script type="module">
  import poetaAlert from 'https://cdn.skypack.dev/poeta-alert';
</script>

README

Alert

Install

$ npm install @poetadigital/alert --save

Usage

<template>
  <div class="app">
    <PAlert
      :message="'Error messages'"
      :customClass="'custom-class'"
      :customIconStyle="iconStyle"
      :customTextStyle="textStyle"
    >
    /* Icon alert SVG */
      <IconAlertError />
    </PAlert>
  </div>
</template>

<script>
import PAlert from "./components/PAlert";

export default {
  components: { PAlert }
};
</script>

<style></style>

Props

NameRequiredDefaultTypeDescription
message N - String Alert message
:customStyle N - Object A custom style object to override the base styles.
:customIconStyle N - Object A custom icon style object to override the base icon styles.
:customTextStyle N - Object A custom text style object to override the base text styles.
:customClass N - String A custom class to override the base classes.
:customIconClass N - String A custom icon class object to override the base icon classes.
:customTextClass N - String A custom text class object to override the base text classes.

Development

  • [] Vari

License

MIT © Poeta Digital