# Aviso de navegador heredado Widget

# Descripción

Muestra al usuario un aviso de que su navegador no es compatible. Verifica ie10 o ie ie11 y muestra un aviso.

# Instalar en pc

# Widget

Para instalar como un widget de copiar y pegar.

TIP

La propiedad 'minVersion' de este componente se puede pasar como un atributo en la etiqueta del script. Ver detalles de opciones


<script nomodule="" id="view-legacy" src="https://cdn.cbd.int/@action-agenda/legacy-notice@~1.0.1/dist/widget/index.umd.min.js"></script>
<script  type="module" id="view" src="https://cdn.cbd.int/@action-agenda/legacy-notice@~1.0.1/dist/widget/index.min.js"></script> 


1
2
3
4
5

<script  type="module" id="view" src="https://cdn.cbd.int/@action-agenda/legacy-notice@~1.0.1/dist/widget/index.min.js"></script> 


1
2
3
4

<script nomodule="" id="view-legacy" src="https://cdn.cbd.int/@action-agenda/legacy-notice@~1.0.1/dist/widget/index.umd.min.js"></script>

1
2
3

# Propiedades

  props     : { minVersion   : { type: String, default: '11'  } },
  const ie10s = ['10', 'ie10', 'IE10']
  const ie11s = ['11', 'ie11', 'IE11']
  // if passed 'force' the component will render,
1
2
3

# I18n (traducciones)

export default { messages : {
    en: {
        'Browser not supported': 'Browser not supported'                                                                              ,
        working                : 'Please note we are working to have this web component compatible with legacy browsers still in use.',
        interim                : 'In the interim, please consider using one of the following free browsers to use this component:'
    }
  }
}
1
2
3
4
5
6
7