Configuration
Overview
window.config.facebook {
appId: '12345678987654321'
}Accessing Configuration Variables
// Accessing from inside JavaScript
console.log(window.config.facebook.appId);
// Or you can also access this way, once your app is initialized.
console.log(app.config.facebook.appId); // This is the recommended way<!-- Accessing from inside HTML template literals -->
<template>
<div>${$f7.config.facebook.appId}}</div> <!-- After parsing, the output will be 12345678987654321 -->
</template>Last updated