![]() Under active development, Drupal ^9 || ^10 compatibilityĭrupal 8 compatible, legacy. When icon definitions are defined this way, modules and themes can utilize any of the above methods of icon placement without having to specify an icon in code. Modules and themes can add a `` that can define text that will be matched to icons. Return $this->micon($this->title)->setIcon('fa-user') Use translatable icon trait use Drupal\micon\MiconIconizeTrait Micon('Hello World')->setIcon('fa-user') 1 Currently, I am playing with HTML and CSS and I wanted to make a icon from this image the image is somewhat like that. Use to attach icon to translatable text // Typical translatable text The Micon admin interface provides an overview of all icons along with information on how to use them via CSS and raw HTML. Published packages are immediately available for use site-wide. Place the IcoMoon zip file you previously downloaded into the file upload field.The shorter it is, the smaller your rendered code and dependencies will be. Note: A class prefix is added automatically, but it is recommended to keep the class prefix as short as reasonably possible, as it is used in both CSS files and within the icon markup. Go to `/admin/structure/micon` and follow these steps: Once finished, either click on Generate Font or Generate SVG & more to download the zip file provided by IcoMoon. Visit and create an icon package, by adding the desired icons to your Selection. Micon Local Task: Provides automatic icon placement within the local task tab items.Micon Content Type: Provides the ability to set icons for content types.Micon Vocabulary: Provides the ability to set icons for taxonomy vocabularies.The rotation works, but the icons do the rotation, even though I didn't click on the accordion. In the green buttons, at the top of the menu, I want to make a roration of the '' icon when the accordion is open. ![]() I want to rotate the '+' icon when the accordion is open.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |