Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 29... Línea 29...
29
 
29
 
30
    Context variables required for this template:
30
    Context variables required for this template:
31
    * pix
31
    * pix
32
    * title
32
    * title
-
 
33
    * extraclasses
Línea 33... Línea 34...
33
    * extraclasses
34
    * aria-hidden - whether the icon is hidden from assistive technologies
34
 
35
 
35
    Example context (json):
36
    Example context (json):
36
    {
37
    {
37
        "key": "fa-meh-o",
38
        "key": "fa-meh-o",
38
        "title": "Meh",
39
        "title": "Meh",
39
        "alt": "Meh Meh",
40
        "alt": "Meh Meh",
-
 
41
        "extraclasses": "fa-spin",
40
        "extraclasses": "fa-spin",
42
        "unmappedIcon": false,
Línea 41... Línea 43...
41
        "unmappedIcon": false
43
        "aria-hidden": false
42
    }
44
    }
43
 
45
 
44
}}
46
}}
45
{{^unmappedIcon}}
47
{{^unmappedIcon}}
46
<i class="icon fa {{key}} fa-fw {{extraclasses}}" {{#aria-hidden}}aria-hidden="true"{{/aria-hidden}} {{#title}}title="{{title}}"{{/title}} {{#alt}}role="img" aria-label="{{alt}}"{{/alt}}></i>
48
<i class="icon {{key}} fa-fw {{extraclasses}}"{{#aria-hidden}} aria-hidden="true"{{/aria-hidden}} {{#title}} title="{{title}}"{{/title}}{{^aria-hidden}}{{#alt}} role="img" aria-label="{{alt}}"{{/alt}}{{/aria-hidden}}></i>
47
{{/unmappedIcon}}
49
{{/unmappedIcon}}
48
{{#unmappedIcon}}
50
{{#unmappedIcon}}