Properties

animate defines the type of animation, with which the view is shown, if it is a Multiview cell
borderless used to hide the component borders
container an HTML container (or its ID) where the component should be initialized
css the name of the CSS class or the object with styles that will be applied to the view container
currentUser sets the user who sends the comments in a certain instance of the app
data JavaScript array containing data for the component
datatype the type of loaded data
disabled indicates whether an item is enabled
gravity sets the view gravity
height sets the height of the component
hidden defines whether the view will be hidden initially
highlight defines the style for mentioning
id the ID of a widget
keepButtonVisible keeps the Send button visible
listItem defines a custom template for comments
maxHeight sets the maximum height for the view
maxInputHeight defines maximum input height
maxWidth sets the maximum width for the view
mentions enables the mentioning functionality
minHeight sets the minimal height for the view
minInputHeight defines minimum input height
minWidth sets the minimal width for the view
mode defines which comments are loaded first (oldest or latest)
moreButton defines the label on the "More comments" button
on allows attaching custom handlers to inner events of the component
padding defines the space between the element borders and content (applies the specified value to all sides).
paddingX sets the right and left padding (applies the specified value to both sides)
paddingY sets the top and bottom padding (applies the specified value to both sides)
readonly enables the read-only mode
scheme defines the data scheme for the Comments widget
sendAction defines the key or a combination of keys that send a comment (Enter or Shift+Enter)
type defines the layout borders
url the URL which the component will use to load data after its initialization
users defines the list of users that can add comments
width sets the width of a widget
Back to top