response-designer1
v0.5.0-beta.4245
Published
This library is for creating the RCS Demo components
Downloads
615
Readme
RCS Demo Creator
This library is for creating the RCS Demo components
Install
Install with npm: npm i response-designer
Usage
Basically when you are using this library, you are calling my component in you HTML template.
Place the below in HTML
<designer-main
[modal]="modal"
[channel]="channel"
[no_validate]="false"
></designer-main>
<designer-preview
[modal]="modal">
</designer-preview>
<designer-main></designer-main>
component is for the configuration builder.
<designer-preview></designer-preview>
component is for the preview.
You will get he output in the "modal", the channel is RCS and set [no_validate]="false"
to remove default library validation.
Feature
addTextReply(false)
To add a text reply demo component.
addCardReply(false)
To add a card reply demo component.
addCarousalReply(false)
To add a carousel reply demo component.
deleteResponseAt(0)
To delete a demo component.
setValue()
To set default value to demo component.
logOutPut()
To Log output in the developer console.
storeInLS()
To store the output in the local storage
Demo URL
https://goodmite.github.io/designer/
Upcoming Features
Code preview for the built \ created \ generated code.
Making configuration builder as independent usable feature.
Making preview compoent as independent usable feature.
Supporting Facebook and Twitter as channel.
More CSS customization option of the builder.