API Reference
Namespaces
Classes
Events
Global
Externals

Namespace: cq-view-dialog

WebComponents. cq-view-dialog

View Dialog web component <cq-view-dialog>.

See WebComponents.cq-views for more details on menu management for this component.

Example

<cq-dialog>
    <cq-view-dialog>
        <h4>Save View</h4>
        <div stxtap="close()" class="ciq-icon ciq-close"></div>
        <div style="text-align:center;margin-top:10px;">
            <i>Enter name of view:</i>
            <p>
                <input spellcheck="false" autocomplete="off" autocorrect="off" autocapitalize="none" maxlength="40" placeholder="Name"><br>
            </p>
            <span class="ciq-btn" stxtap="save()">Save</span>
        </div>
    </cq-view-dialog>
</cq-dialog>

Methods


save()

Saves the new view. This updates all cq-view menus on the screen and persists the view in the nameValueStore.