-
Notifications
You must be signed in to change notification settings - Fork 1
API Documentation
yasindilekci edited this page Sep 5, 2016
·
4 revisions
This page provides how-to information to help you make use of the dotCMS Minifier plugin.
- $jsMinifyTool.toScriptTag() - Get the minified HTML script tag of the minified JavaScript files.
- $cssMinifyTool.toLinkTag() - Get the HTML link tag of the minified CSS files.
- .toUrl() - Get a minified and combined version of the content of the files.*
- .addFiles() - Add the given uris to the given group.*
- .getFiles() - Get the files that were added to any of the given groups.*
- .getFileGroups() - Get all created groups.*
- .addInlines() - Add inline code to the given group.*
- .getInlines() - Get the inline codes that were added to the given group.*
- .getInlineGroups() - Get all created groups for storing inline code.*
- .reset() - Remove all files and inline code.*
- .getHost() - Get the host or the alias by its hostName or Alias.*
* = method supported by both minify tools: $jsMinifyTool & $cssMinifyTool