PHP Classes

File: toastui/src/js/ui/template/submenu/text.js

Recommend this page to a friend!
  Classes of Mark de Leon   PHP Document Scanner using SANE or eSCL AirPrint   toastui/src/js/ui/template/submenu/text.js   Download  
File: toastui/src/js/ui/template/submenu/text.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Document Scanner using SANE or eSCL AirPrint
Web interface to scan printed documents
Author: By
Last change:
Date: 4 years ago
Size: 4,056 bytes
 

Contents

Class file image Download
/** * @param {Locale} locale - Translate text * @param {Object} normal - iconStyle * @param {Object} active - iconStyle * @returns {string} */ export default ({locale, iconStyle: {normal, active}}) => (` <ul class="tui-image-editor-submenu-item"> <li id="tie-text-effect-button"> <div class="tui-image-editor-button bold"> <div> <svg class="svg_ic-submenu"> <use xlink:href="${normal.path}#${normal.name}-ic-text-bold" class="normal"/> <use xlink:href="${active.path}#${active.name}-ic-text-bold" class="active"/> </svg> </div> <label> ${locale.localize('Bold')} </label> </div> <div class="tui-image-editor-button italic"> <div> <svg class="svg_ic-submenu"> <use xlink:href="${normal.path}#${normal.name}-ic-text-italic" class="normal"/> <use xlink:href="${active.path}#${active.name}-ic-text-italic" class="active"/> </svg> </div> <label> ${locale.localize('Italic')} </label> </div> <div class="tui-image-editor-button underline"> <div> <svg class="svg_ic-submenu"> <use xlink:href="${normal.path}#${normal.name}-ic-text-underline" class="normal"/> <use xlink:href="${active.path}#${active.name}-ic-text-underline" class="active"/> </svg> </div> <label> ${locale.localize('Underline')} </label> </div> </li> <li class="tui-image-editor-partition"> <div></div> </li> <li id="tie-text-align-button"> <div class="tui-image-editor-button left"> <div> <svg class="svg_ic-submenu"> <use xlink:href="${normal.path}#${normal.name}-ic-text-align-left" class="normal"/> <use xlink:href="${active.path}#${active.name}-ic-text-align-left" class="active"/> </svg> </div> <label> ${locale.localize('Left')} </label> </div> <div class="tui-image-editor-button center"> <div> <svg class="svg_ic-submenu"> <use xlink:href="${normal.path}#${normal.name}-ic-text-align-center" class="normal"/> <use xlink:href="${active.path}#${active.name}-ic-text-align-center" class="active"/> </svg> </div> <label> ${locale.localize('Center')} </label> </div> <div class="tui-image-editor-button right"> <div> <svg class="svg_ic-submenu"> <use xlink:href="${normal.path}#${normal.name}-ic-text-align-right" class="normal"/> <use xlink:href="${active.path}#${active.name}-ic-text-align-right" class="active"/> </svg> </div> <label> ${locale.localize('Right')} </label> </div> </li> <li class="tui-image-editor-partition"> <div></div> </li> <li> <div id="tie-text-color" title="${locale.localize('Color')}"></div> </li> <li class="tui-image-editor-partition only-left-right"> <div></div> </li> <li class="tui-image-editor-newline tui-image-editor-range-wrap"> <label class="range">${locale.localize('Text size')}</label> <div id="tie-text-range"></div> <input id="tie-text-range-value" class="tui-image-editor-range-value" value="0" /> </li> </ul> `);