Zid Themes Library: API Integration
Integrating the Zid Themes Library
zid.store
global object. This object can be integrated into any JavaScript file or script tag in your theme. To utilize the library, include the zidapi_script
variable at the bottom of the body tag in your HTML template:<body>
<div class="app">
{% block header %}{% endblock %}
{% block main_content %}{% endblock %}
{% block footer %}{% endblock %}
</div>
{{ zidapi_script|raw }} <!-- Initialize Zid Library -->
<script type="text/javascript" src="{{ asset_url ~ 'main.js' }}"></script>
</body>
Available Resources in zidapi_script
zidapi_script
provides access to a range of resources essential for theme development:Modified at 2024-11-05 12:49:36