Fixed typo
This commit is contained in:
parent
0b82aa4be6
commit
bdb7f0e0aa
@ -1,36 +1,36 @@
|
|||||||
//- DS2 core (c) 2024 Alexander McIlwraith
|
//- DS2 core (c) 2024 Alexander McIlwraith
|
||||||
//- Core licensed under CC BY-SA 4.0
|
//- Core licensed under CC BY-SA 4.0
|
||||||
|
|
||||||
extends ../../../core/_master-pattern
|
extends ../../../core/_master-pattern
|
||||||
block content
|
block content
|
||||||
|
|
||||||
+h(0)
|
+h(0)
|
||||||
p A tabs component that provides different sections of content that are displayed one at a time when the user selects that information.
|
p A tabs component that provides different sections of content that are displayed one at a time when the user selects that information.
|
||||||
|
|
||||||
+h(2)
|
+h(2)
|
||||||
p The tabbed user interface enables users to jump to their target section quickly. Tabs present like logically group information on the same page. Information should
|
p The tabbed user interface enables users to jump to their target section quickly. Tabs present like logically group information on the same page. Information should
|
||||||
|
|
||||||
ul
|
ul
|
||||||
li be logically chunked and ordered
|
li be logically chunked and ordered
|
||||||
li be arallel in nature
|
li be parallel in nature
|
||||||
li show user's context
|
li show user's context
|
||||||
li obvious where they begin and end
|
li obvious where they begin and end
|
||||||
|
|
||||||
p Users should not need to see content of multiple tabs simultaneously and the user should be able to easily recognise where they are within the content.
|
p Users should not need to see content of multiple tabs simultaneously and the user should be able to easily recognise where they are within the content.
|
||||||
|
|
||||||
|
|
||||||
+h(1)
|
+h(1)
|
||||||
p The tab module can be initialised by importing a file with the javascript module using import * as tabs from "../pg/patterns/layouts/tabs/_tabs.js"; contains a modularized version of the jQuery code, so that it can be called on demand. It is what is used in the design system so that the JavaScript can be called at run time (after loading content).
|
p The tab module can be initialised by importing a file with the javascript module using import * as tabs from "../pg/patterns/layouts/tabs/_tabs.js"; contains a modularized version of the jQuery code, so that it can be called on demand. It is what is used in the design system so that the JavaScript can be called at run time (after loading content).
|
||||||
|
|
||||||
tabset#tabs
|
tabset#tabs
|
||||||
pre.language-html(tab="html")
|
pre.language-html(tab="html")
|
||||||
include _tabs.pug
|
include _tabs.pug
|
||||||
pre.language-pug(tab="pug")
|
pre.language-pug(tab="pug")
|
||||||
include _tabs.pp
|
include _tabs.pp
|
||||||
pre.language-css(tab="css")
|
pre.language-css(tab="css")
|
||||||
include tabs.css
|
include tabs.css
|
||||||
pre.language-css(tab="scss")
|
pre.language-css(tab="scss")
|
||||||
include _tabs.scss
|
include _tabs.scss
|
||||||
pre.language-css(tab="js")
|
pre.language-css(tab="js")
|
||||||
include _tabs.js
|
include _tabs.js
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user