Jump to content

Guides

ips.ui.spoiler

Description

The spoiler widget is designed to hide designated text until the user clicks to reveal it. It is typically used on content posted by users from CKEditor.

 

Usage

Simply add the widget key attribute to the element containing the text to be hidden:

<div data-ipsSpoiler>
	This text will be hidden from users initially
</div>

 

Options

The Spoiler widget does not have any configuration options.

 

Events emitted by ips.ui.spoiler

The Spoiler widget does not emit any events.

 


  Report Guide


×