Skip to main content
Toggle navigation menu
Downloads
Sign in
InRule Technology
Search
ScriptObject data type
ScriptObject data type
Creation
Properties
Methods
Operator overloading
Inheritance via prototypes
The appearance of the Help Center has changed.
Read more about the changes here.
Helpful search terms:
<% var getColumnClasses = function(numberColumns) { var classNames = 'col-12'; if (numberColumns >= 2) classNames += ' md:col-6'; if (numberColumns >= 3) classNames += ' lg:col-4'; if (numberColumns >= 4) classNames += ' xl:col-3'; return classNames; } %> <% var promotedArticlesAbove = '1-bullet' !== 'none' && 'after' === 'before'; %> <% var notificationAbove = 'header' === 'home' && !!'hc_notification' && !window.sessionStorage.getItem('alpine:notification:dismissed'); %> <% var blockStyle = 'cards'; %>
<% if (heading) { %>
<%= heading %>
<% } %> <% var hasFeatured = blockStyle === 'cards-featured' && blocks.length === 3 && numberColumns === 3; %>
<% blocks.forEach(function(block, index) { %> <% var isFeatured = hasFeatured && index === 1; %>
<% if (imageHeight) { %>
<% } %> <% if (block.name) { %>
<%= block.name %>
<% } %> <% if (block.description) { %>
<%= block.description %>
<% } %>
<% }) %>
<% if (heading) { %>
<%= heading %>
<% } %>
<% if (categories.length > 1) { %> <% categories.forEach(function(category, index) { %>
<%= category.name %>
<% if (category.sections.length) { %>
<% category.sections.forEach(function(section) { %>
<%= section.name %>
<% }) %>
<% } else { %>
empty
<% } %>
<% }) %> <% } else { %> <% sections.forEach(function(section, index) { %>
<%= section.name %>
<% if (section.sections.length) { %>
<% section.sections.forEach(function(section) { %>
<%= section.name %>
<% }) %>
<% } else if (section.articles.length) { %>
<% section.articles.forEach(function(article) { %>
<%= article.title %>
<% }) %>
<% } else { %>
empty
<% } %>
<% }) %> <% } %>
Categories
<% categories.forEach(function(category, index) { %>
<%= category.name %>
<%= partial('partial-article-list-sections', { id: 'category-' + category.id, parentId: '#sidebar-navigation', sections: category.sections, activeCategoryId: activeCategoryId, activeSectionId: activeSectionId, activeArticleId: activeArticleId, partial: partial }) %>
<% }); %>
Toggle navigation menu
<% categories.forEach(function(category, index) { %>
<%= category.name %>
<% if (category.isActive) { %> <%= partial('partial-section-list-sections', { parent: category, sections: category.sections, partial: partial }) %> <% } %>
<% }); %>
Categories
Categories
<% categories.forEach(function(category) { %>
<%= category.name %>
<% }); %>
<% if (sections.length) { %>
<% sections.forEach(function(section) { %>
<%= section.name %>
<%= partial('partial-article-list-sections', { id: 'section-' + section.id, parentId: '#' + id, sections: section.sections, activeCategoryId: activeCategoryId, activeSectionId: activeSectionId, activeArticleId: activeArticleId, partial: partial }) %> <% if (section.articles.length) { %>
<% section.articles.forEach(function(article) { %>
<%= article.title %>
<% }); %>
<% } %>
<% }); %>
<% } %>
<% if (sections.length) { %>
<% sections.forEach(function(section) { %>
<%= section.name %>
<%= partial('partial-section-list-sections', { parent: section, sections: section.sections, partial: partial }) %>
<% }); %>
<% } %>