getName()
Get product name.
addHtmlAttribute(scope, name, value)
Add HTML attributes by scope. copy <%= addHtmlAttribute(scope, name, value) %>
addHtmlAttributes(scope, attributes)
Add multiple HTML attributes by scope. copy <%= addHtmlAttributes(scope, attributes) %>
addHtmlClass(scope, value)
Add HTML class by scope. copy <%= addHtmlClass(scope, value) %>
printHtmlAttributes(scope)
Print HTML attributes for the HTML template. copy <%= printHtmlAttributes(scope) %>
printHtmlClasses(scope, full = true)
Print HTML classes for the HTML template. copy <%= printHtmlClasses(scope, full = true) %>
getIcon(path, classNames = 'svg-icon', folder = 'lib/assets/media/icons/')
Get SVG icon content. copy <%= getIcon(path, classNames = 'svg-icon') %>
asset(path)
Get an assets path in assets folder by path.
setModeSwitch(flag)
Set dark mode enabled status. copy <%= setModeSwitch(flag) %>
isModeSwitchEnabled()
Check dark mode status. copy <%= isModeSwitchEnabled() %>
setModeDefault(mode)
Set the mode to dark or light. copy <%= setModeDefault(mode) %>
getModeDefault()
Get current mode.
setDirection(direction)
Set style direction. copy <%= setDirection(direction) %>
getDirection()
Get style direction.
isRtlDirection()
Check if style direction is RTL.
extendCssFilename(path)
Extend CSS file name with RTL or dark mode. copy <%= extendCssFilename(path) %>
includeFavicon()
Include favicon from settings.
includeFonts()
Include the fonts from settings.
getGlobalAssets(type)
Get the global assets. copy <%= getGlobalAssets(type) %>
addVendors(vendors)
Add multiple vendors to the page by name. Refer to settings KT_THEME_VENDORS. copy <%= addVendors(vendors) %>
addVendor(vendor)
Add single vendor to the page by name. Refer to settings KT_THEME_VENDORS.
addJavascriptFile(file)
Add custom javascript file to the page. copy <%= addJavascriptFile(file) %>
addCssFile(file)
Add custom CSS file to the page.
getVendors(type)
Get vendor files from settings. Refer to settings KT_THEME_VENDORS.
getCustomJs
Get custom js files from the settings.
getCustomCss
Get custom css files from the settings.
getHtmlAttribute(scope, attribute)
Get HTML attribute based on the scope. copy <%= getHtmlAttribute(scope, attribute) %>
getName()
Get product name.
addHtmlAttribute(scope, name, value)
Add HTML attributes by scope. copy helpers.addHtmlAttribute(scope, name, value)
addHtmlAttributes(scope, attributes)
Add multiple HTML attributes by scope. copy helpers.addHtmlAttributes(scope, attributes)
addHtmlClass(scope, value)
Add HTML class by scope. copy helpers.addHtmlClass(scope, value)
printHtmlAttributes(scope)
Print HTML attributes for the HTML template. copy helpers.printHtmlAttributes(scope)
printHtmlClasses(scope, full = true)
Print HTML classes for the HTML template. copy helpers.printHtmlClasses(scope, full = true)
getIcon(path, classNames = 'svg-icon', folder = 'lib/assets/media/icons/')
Get SVG icon content. copy helpers.getIcon(path, classNames = 'svg-icon')
asset(path)
Get an assets path in assets folder by path.
setModeSwitch(flag)
Set dark mode enabled status. copy helpers.setModeSwitch(flag)
isModeSwitchEnabled()
Check dark mode status. copy helpers.isModeSwitchEnabled()
setModeDefault(mode)
Set the mode to dark or light. copy helpers.setModeDefault(mode)
getModeDefault()
Get current mode.
setDirection(direction)
Set style direction. copy helpers.setDirection(direction)
getDirection()
Get style direction.
isRtlDirection()
Check if style direction is RTL.
extendCssFilename(path)
Extend CSS file name with RTL or dark mode. copy helpers.extendCssFilename(path)
includeFavicon()
Include favicon from settings.
includeFonts()
Include the fonts from settings.
getGlobalAssets(type)
Get the global assets. copy helpers.getGlobalAssets(type)
addVendors(vendors)
Add multiple vendors to the page by name. Refer to settings KT_THEME_VENDORS. copy helpers.addVendors(vendors)
addVendor(vendor)
Add single vendor to the page by name. Refer to settings KT_THEME_VENDORS. copy helpers.addVendor(vendor)
addJavascriptFile(file)
Add custom javascript file to the page. copy helpers.addJavascriptFile(file)
addCssFile(file)
Add custom CSS file to the page.
getVendors(type)
Get vendor files from settings. Refer to settings KT_THEME_VENDORS.
getCustomJs
Get custom js files from the settings.
getCustomCss
Get custom css files from the settings.
getHtmlAttribute(scope, attribute)
Get HTML attribute based on the scope. copy helpers.getHtmlAttribute(scope, attribute)