Encuesta de investigación: Cuéntanos sobre tu experiencia con Blockly
Comenzar encuesta
blockly > Block > CommentModel
Signature:
interface CommentModel
Propiedades
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2024-10-16 (UTC)
[null,null,["Última actualización: 2024-10-16 (UTC)"],[[["The `CommentModel` interface defines the properties of a comment associated with a block."],["It includes properties like `pinned`, `size`, and `text` to manage the comment's visibility, dimensions, and content."],["These properties determine if the comment is attached to the block, its width and height, and the actual comment text, which can be a string or null."]]],["The `Block.CommentModel` interface defines the structure for block comments. It includes three key properties: `pinned` (a boolean indicating if the comment is pinned), `size` (a `Size` object defining the dimensions), and `text` (a string or null representing the comment's content). These properties manage the comment's visibility, dimensions, and textual content within the block environment.\n"]]