📜  语义 UI 表活动状态

📅  最后修改于: 2022-05-13 01:56:18.098000             🧑  作者: Mango

语义 UI 表活动状态

Semantic UI是一个开源框架,它使用 CSS 和 jQuery 来构建出色的用户界面。它与使用的引导程序相同,并且有很多不同的元素可用于使您的网站看起来更神奇。它使用一个类将 CSS 添加到元素中。

表格是一种组织大量数据的简单方法。表是按行和列排列的数据,或者可能是更复杂的结构。表格广泛用于交流、研究和数据分析。表格可用于各种任务,例如呈现文本信息和数字数据。它可用于比较表格形式布局中的两个或多个项目。表用于创建数据库。 HTML 表和语义 UI 表在结构上都是相同的。

活动状态将单元格或行设置为活动或由用户选择。

语义 UI 表活动状态类:

  • active:此类将单元格或行设置为活动状态。

句法:


         ...
    
    ...

示例 1:这是说明表的活动状态的基本示例。

HTML



    Semantic UI Table Active state
    
    
    


    
        

GeeksforGeeks

        Semantic UI Table Active state     
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
AccessInsertionDeletionSearch
ArrayO(1)O(n)O(n)O(n)
LinkedListO(n)O(1)O(1)O(n)
AVL TreeO(log n)O(log n)O(log n)O(log n)
HashMapN/AO(1)O(1)O(1)
 


HTML



        Semantic UI Table Active state
        
        
        


        
            

GeeksforGeeks

            Semantic UI Table Active state         
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
AccessInsertionDeletionSearch
ArrayO(1)O(n)O(n)O(n)
LinkedListO(n)O(1)O(1)O(n)
AVL TreeO(log n)O(log n)O(log n)O(log n)
HashMapN/AO(1)O(1)O(1)
    


输出:

示例 2:这是一个说明单元格表活动状态的基本示例。

HTML




        Semantic UI Table Active state
        
        
        


        
            

GeeksforGeeks

            Semantic UI Table Active state         
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
AccessInsertionDeletionSearch
ArrayO(1)O(n)O(n)O(n)
LinkedListO(n)O(1)O(1)O(n)
AVL TreeO(log n)O(log n)O(log n)O(log n)
HashMapN/AO(1)O(1)O(1)
    

输出:

参考: https://semantic-ui.com/collections/table.html#active