Skip to content

Plugins #9

@augustohp

Description

@augustohp

Plugins are a way of adding a different behavior when decoration elements, examples of plugins are:

  • Custom rendered elements (The date/calendar element you just spoken on issue Decorator API #4)
  • Using a specific decorator
  • Escape HTML data

How designer could use them:

<div id="post-comments" class="respect-escape-html"></div>

Or we could use data attribute, but classes just seem a little bit better and we can use them as selectors also.
Waiting your considerations ...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions