1.0.2 • Published 9 months ago
@atmgrupomaggioli/iris-alert v1.0.2
iris-alert
Properties
| Property | Attribute | Description | Type | Default |
|---|---|---|---|---|
buttonIcon | button-icon | Icono del botón. Si se especifica, se mostrará junto al texto del botón. | string | undefined |
buttonLabel | button-label | Texto del botón. Se usa como label dentro del botón si showButton está activado. Valor por defecto: 'Aceptar' | string | 'Aceptar' |
showButton | show-button | Indica si se muestra un botón en la alerta. Si es true, se renderiza un botón con el icono y label configurables. | boolean | undefined |
type | type | Tipo de alerta. Determina el estilo y el icono asociado a la alerta. Valores permitidos: 'info' \| 'success' \| 'warning' \| 'search' \| 'error' \| 'question' \| 'note' Valor por defecto: 'info' | "error" \| "info" \| "note" \| "question" \| "search" \| "success" \| "warning" | 'info' |
Events
| Event | Description | Type |
|---|---|---|
buttonClicked | Evento emitido al hacer clic en el botón. Se activa cuando el usuario presiona el botón dentro de la alerta. | CustomEvent<void> |
Built with StencilJS