armory-embeds-chat-code
Generates armory embeds markup from a chat code.
Usage
npm install armory-embeds-chat-code
; ;// <div data-armory-embed="skins" data-armory-ids="7157"></div>
Api
parseChatCode(chatcode: string, options: ?Options): string
Options: Object
property | type | description |
---|---|---|
tag | string |
Custom tag for the embed, defaults to div . |
attributes | Object |
Key/value object of extra attributes to add to the markup. |