Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show properties which accept the current object #470

Open
Mouvedia opened this issue Jun 12, 2013 · 0 comments
Open

Show properties which accept the current object #470

Mouvedia opened this issue Jun 12, 2013 · 0 comments

Comments

@Mouvedia
Copy link
Member

HTML

<details>
<summary unselectable="on" title="List of the properties which accept %object as a value">Accepted on</summary>
<ul>
<li>property of @object</li>
<li>property of @object</li>
<li>property of @object</li>
<li>property of @object</li>
</ul>
</details>
<details open="open">
<summary  unselectable="on">Object list</summary>
    <ul class="obj_list">[…]</ul>
</details>

%object is a variable.

Concerning the list items you have 2 options:

  • <li><a>property of @object</a></li>
  • <li><a>property</a> of <a>@object</a></li>

CSS

summary {
outline: none;
cursor: pointer;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
font-size: 16px;
}
summary::-webkit-details-marker {
font-size: 80%;
vertical-align: 10%;
}

Consequences

The expand all and collapse all links either need to be removed altogether or put after the obj_list unordered list (under the second details tag).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant