forked from Samsung/TAU
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expandable button: added implementation and examples
[Issue] Samsung#1336 [Problem] Expandable button: Card type - not implemented, no example [Solution] - new example - extend styles for ui-content-area Signed-off-by: Tomasz Lukawski <t.lukawski@samsung.com>
- Loading branch information
1 parent
d12873b
commit a0d197e
Showing
7 changed files
with
132 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 54 additions & 0 deletions
54
examples/mobile/UIComponents/components/controllers/expandable-card.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<title>Expandable Card</title> | ||
<meta content="width=device-width, user-scalable=no" name="viewport" /> | ||
<link href="../../lib/tau/mobile/theme/default/tau.css" rel="stylesheet" /> | ||
<link href="../../css/style.css" rel="stylesheet" /> | ||
<script data-build-remove="false" src="../../lib/tau/mobile/js/tau.js"> | ||
</script> | ||
</head> | ||
|
||
<body> | ||
<div class="ui-page"> | ||
<div class="ui-header" data-position="fixed"> | ||
<div class="ui-appbar-left-icons-container"> | ||
<a href="#" class="ui-btn ui-btn-icon ui-btn-icon-back" data-style="flat" data-rel="back"></a> | ||
</div> | ||
<div class="ui-appbar-title-container"> | ||
<span class="ui-appbar-title">Expand button on card</span> | ||
</div> | ||
<div class="ui-appbar-action-buttons-container"> | ||
<button class="ui-btn ui-btn-icon ui-btn-icon-more" data-style="flat"></button> | ||
</div> | ||
</div> | ||
<div class="ui-content"> | ||
<div class="ui-content-area"> | ||
<div class="ui-expandable"> | ||
<h2> | ||
Subtitle 1 | ||
</h2> | ||
<div class="app-content-example"> | ||
Contents area | ||
</div> | ||
</div> | ||
</div> | ||
<div class="ui-content-area"> | ||
<div class="ui-expandable" data-expander="button"> | ||
<h2>Subtitle 2 | ||
<button class="ui-btn ui-btn-icon" class="ui-expandable-toggle" data-icon="down" data-style="flat"></button> | ||
</h2> | ||
<div class="app-content-example"> | ||
Contents | ||
</div> | ||
<div class="ui-expandable-content app-content-example-expanded"> | ||
Contents area | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters