Skip to content

Instantly share code, notes, and snippets.

View onezerodigits's full-sized avatar
⌨️
probably typing into a text file

onezerodigits

⌨️
probably typing into a text file
View GitHub Profile
@onezerodigits
onezerodigits / example.html
Created November 12, 2019 21:15 — forked from kevinweber/example.html
AEM: Include another resource + modify tag and class name #data-sly-resource
<!--/* More: https://docs.adobe.com/docs/en/htl/docs/block-statements.html#resource */-->
<!--/* By default, the AEM decoration tags are disabled, the decorationTagName option allows to bring them back, and the cssClassName to add classes to that element. */-->
<div data-sly-resource="${'headline' @
resourceType='about-project/components/content/c34-section-headline',
decorationTagName='span',
cssClassName='className'
}"></div>
<!--/* More about the decoration tag: https://docs.adobe.com/docs/en/aem/6-3/develop/components/decoration-tag.html */-->
@onezerodigits
onezerodigits / AEM Dialog field examples
Last active March 6, 2020 13:55 — forked from kevinweber/buttongroup.xml
Sample XML file bits to use as a starting point for building component dialogs.
Examples below